summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2017-07-22 09:08:03 +0200
committerDave Andreoli <dave@gurumeditation.it>2017-07-22 09:08:03 +0200
commitfecc0c2604619ab69508a0d9ce994ebf1cef47b9 (patch)
tree47ad0c947727bd497f37897032ba796322684ace
parent9d5efd8aefe264b15af6ae86d3720432ee7b2816 (diff)
Edje: remove custom __repr__ implementation
to be consistent with the others
-rw-r--r--efl/edje/efl.edje_object.pxi16
1 files changed, 0 insertions, 16 deletions
diff --git a/efl/edje/efl.edje_object.pxi b/efl/edje/efl.edje_object.pxi
index 3ff969f..534eb88 100644
--- a/efl/edje/efl.edje_object.pxi
+++ b/efl/edje/efl.edje_object.pxi
@@ -137,22 +137,6 @@ cdef class Edje(Object):
137 self._text_change_cb = None 137 self._text_change_cb = None
138 self._message_handler_cb = None 138 self._message_handler_cb = None
139 139
140 def __repr__(self):
141 x, y, w, h = self.geometry_get()
142 r, g, b, a = self.color_get()
143 file, group = self.file_get()
144 name = self.name_get()
145 if name:
146 name_str = "name=%r, "
147 else:
148 name_str = ""
149 clip = bool(self.clip_get() is not None)
150 return ("<%s(%sfile=%r, group=%r, geometry=(%d, %d, %d, %d), "
151 "color=(%d, %d, %d, %d), layer=%s, clip=%r, visible=%s)>") % \
152 (self.__class__.__name__, name_str, file, group,
153 x, y, w, h, r, g, b, a,
154 self.layer_get(), clip, self.visible_get())
155
156 def data_get(self, key): 140 def data_get(self, key):
157 """Get data from Edje data collection (defined in .edj). 141 """Get data from Edje data collection (defined in .edj).
158 142