Exemplo n.º 1
0
 def __init__(self):
 
     ZNode.__init__(self,geomnode = DemoItem.cm.generate())
     # FIXME. Currently highlightable only works when zoomable.
     self.set_zoomable(True)
     Highlightable.__init__(self)
     self.set_highlightable(True)
     Draggable.__init__(self)
     self.set_draggable(True)
Exemplo n.º 2
0
    def __init__(self):

        ZNode.__init__(self, geomnode=DemoItem.cm.generate())
        # FIXME. Currently highlightable only works when zoomable.
        self.set_zoomable(True)
        Highlightable.__init__(self)
        self.set_highlightable(True)
        Draggable.__init__(self)
        self.set_draggable(True)
Exemplo n.º 3
0
    def __init__(self):

        ZNode.__init__(self, geomnode=DemoItem.cm.generate())
        Draggable.__init__(self)
        self.set_draggable(True)
        Highlightable.__init__(self)
        self.set_highlightable(True)
        # FIXME. zoomable is required to make highlightable work because of the
        # collision mask. It shouldn't be.
        self.set_zoomable(True)
Exemplo n.º 4
0
 def __init__(self):
 
     ZNode.__init__(self,geomnode = DemoItem.cm.generate())
     Draggable.__init__(self)
     self.set_draggable(True)
     Highlightable.__init__(self)
     self.set_highlightable(True)
     # FIXME. zoomable is required to make highlightable work because of the
     # collision mask. It shouldn't be.
     self.set_zoomable(True)
Exemplo n.º 5
0
 def __init__(self, geom=None):
     ZNode.__init__(self, geomnode=geom)
     Draggable.__init__(self)
     Highlightable.__init__(self)
     self.set_draggable(True)
     self.set_highlightable(True)
Exemplo n.º 6
0
 def __init__(self):
     ZNode.__init__(self)
     Highlightable.__init__(self)
Exemplo n.º 7
0
 def __init__(self):
     ZNode.__init__(self)
     Highlightable.__init__(self)