python-efl: More clean up after the merge.

SVN revision: 84266
This commit is contained in:
Kai Huuhko 2013-02-20 21:30:18 +00:00
parent b320b094e7
commit 5a37efe711
9 changed files with 7 additions and 9 deletions

View File

@ -110,7 +110,6 @@ cdef class Ctxpopup(Object):
"""
def __init__(self, evasObject parent):
Object.__init__(self, parent.evas)
self._set_obj(elm_ctxpopup_add(parent.obj))
property hover_parent:

View File

@ -105,7 +105,6 @@ cdef class FlipSelector(Object):
"""
def __init__(self, evasObject parent):
Object.__init__(self, parent.evas)
self._set_obj(elm_flipselector_add(parent.obj))
def next(self):

View File

@ -199,7 +199,6 @@ cdef class GestureLayer(Object):
:rtype: :py:class:`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):

View File

@ -37,7 +37,6 @@ cdef class Grid(Object):
"""
def __init__(self, evasObject parent):
# Object.__init__(self, parent.evas)
self._set_obj(elm_grid_add(parent.obj))
property size:

View File

@ -180,7 +180,6 @@ cdef class Hoversel(Button):
"""
def __init__(self, evasObject parent):
# Object.__init__(self, parent.evas)
self._set_obj(elm_hoversel_add(parent.obj))
property horizontal:

View File

@ -585,7 +585,6 @@ cdef class MapOverlayRoute(MapOverlay):
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))
property zoom:

View File

@ -100,11 +100,17 @@ cdef class Progressbar(LayoutClass):
elm_progressbar_pulse_set(self.obj, pulse)
def __get__(self):
return ProgressbarPulseState(elm_progressbar_pulse_get(self.obj))
return ProgressbarPulseState(self, elm_progressbar_pulse_get(self.obj))
def _pulse(self, state):
elm_progressbar_pulse(self.obj, state)
def pulse_set(self, state):
elm_progressbar_pulse_set(self.obj, state)
def pulse_get(self):
return bool(elm_progressbar_pulse_get(self.obj))
property value:
"""The progress value (in percentage) on a given progress bar widget.

View File

@ -87,7 +87,6 @@ cdef class Thumb(Object):
"""
def __init__(self, evasObject parent):
Object.__init__(self, parent.evas)
self._set_obj(elm_thumb_add(parent.obj))
def reload(self):

View File

@ -127,7 +127,6 @@ cdef class Web(Object):
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