示例#1
0
 def __init__(self, editable_grp, desktop_scroller, theme_file,
              rel1_move_offset_inform_cb=None,
              rel2_move_offset_inform_cb=None, op_stack_cb=None,
              group="editje/desktop/part/resize_handler"):
     Handler.__init__(
         self, editable_grp, desktop_scroller, theme_file, group,
         op_stack_cb)
     PartListener.__init__(self)
     self._rel1_move_offset_inform_cb = rel1_move_offset_inform_cb
     self._rel2_move_offset_inform_cb = rel2_move_offset_inform_cb
示例#2
0
 def __init__(self,
              editable_grp,
              desktop_scroller,
              theme_file,
              rel1_move_offset_inform_cb=None,
              rel2_move_offset_inform_cb=None,
              op_stack_cb=None,
              group="editje/desktop/part/resize_handler"):
     Handler.__init__(self, editable_grp, desktop_scroller, theme_file,
                      group, op_stack_cb)
     PartListener.__init__(self)
     self._rel1_move_offset_inform_cb = rel1_move_offset_inform_cb
     self._rel2_move_offset_inform_cb = rel2_move_offset_inform_cb
示例#3
0
 def _part_set(self, part):
     PartListener._part_set(self, part)
     if self._part:
         self.signal_emit("animate", "")
示例#4
0
 def __init__(self, parent):
     edje.Edje.__init__(self, parent.evas, file=parent.theme,
                        group="editje/desktop/highlight")
     PartListener.__init__(self)
示例#5
0
文件: desktop.py 项目: yihan5523/e17
 def _part_set(self, part):
     PartListener._part_set(self, part)
     if self._part:
         self.signal_emit("animate", "")
示例#6
0
文件: desktop.py 项目: yihan5523/e17
 def __init__(self, parent):
     edje.Edje.__init__(self,
                        parent.evas,
                        file=parent.themeext,
                        group="editje/desktop/highlight")
     PartListener.__init__(self)