Пример #1
0
    def __init__(self, experiment, auto_prepare=True, **style_args):

        canvas.canvas.__init__(self, experiment, auto_prepare=auto_prepare, **style_args)
        legacy_coordinates.__init__(self)
        self.antialias = True
        self.surface = self.experiment.surface.copy()
        self.clear()
Пример #2
0
	def __init__(self, experiment, auto_prepare=True, **style_args):

		canvas.canvas.__init__(self, experiment, auto_prepare=auto_prepare,
			**style_args)
		legacy_coordinates.__init__(self)
		self.antialias = True
		self.surface = self.experiment.surface.copy()
		self.clear()
Пример #3
0
    def __init__(self, experiment, auto_prepare=True, **style_args):

        canvas.canvas.__init__(self,
                               experiment,
                               auto_prepare=auto_prepare,
                               **style_args)
        legacy_coordinates.__init__(self)
        self.antialias = True
        self.surface = self.experiment.surface.copy()
        self.clear()
        if platform.system() == u'Darwin':
            self.show = self._show_macos
Пример #4
0
	def __init__(self, experiment, **resp_args):

		mouse.mouse.__init__(self, experiment, **resp_args)
		legacy_coordinates.__init__(self)
Пример #5
0
    def __init__(self, experiment, **resp_args):

        mouse.mouse.__init__(self, experiment, **resp_args)
        legacy_coordinates.__init__(self)