from psychopy import visual as v
from psychopy import event as e
w1 = v.Window(screen = 0)
w2 = v.Window(screen = 1)screens = pyglet.window.get_platform().get_default_display().get_screens()w0 = pyglet.window.Window(screen=screens[0])
w1 = pyglet.window.Window(screen=screens[1])
w0.set_fullscreeen(True)
w1.set_fullscreeen(True)
from psychopy import visual as v
from psychopy import event as e
w1 = v.Window(screen = 0,
fullscr=True)
w2 = v.Window(screen = 1, fullscr=True)
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/psychopy-users/-/lQfDzHHTW7YJ.
For more options, visit https://groups.google.com/groups/opt_out.
-- Jonathan Peirce Nottingham Visual Neuroscience http://www.peirce.org.uk
0.4787 WARNING Creating new monitor...
0.7565 WARNING User requested fullscreen with size [800 600], but screen is actually [1600, 900]. Using actual size
1.6697 WARNING Creating new monitor...
1.6714 WARNING User requested fullscreen with size [800 600], but screen is actually [1440, 900]. Using actual size--- visual.orig.py 2013-03-14 11:37:02.017460288 +0100+++ visual.py 2013-03-14 11:39:34.773462670 +0100@@ -961,7 +961,8 @@ if self.pos==None: #work out where the centre should be self.pos = [ (thisScreen.width-self.size[0])/2 , (thisScreen.height-self.size[1])/2 ]- self.winHandle.set_location(self.pos[0]+thisScreen.x, self.pos[1]+thisScreen.y)#add the necessary amount for second screen+ if not self._isFullScr:+ self.winHandle.set_location(self.pos[0]+thisScreen.x, self.pos[1]+thisScreen.y)#add the necessary amount for second screen try: #to load an icon for the window iconFile = os.path.join(psychopy.prefs.paths['resources'], 'psychopy.ico')To view this discussion on the web visit https://groups.google.com/d/msg/psychopy-users/-/0gaCpjsPEuYJ.
For more options, visit https://groups.google.com/groups/opt_out.
from psychopy import visual, coreimport pyglet
allScrs = pyglet.window.get_platform().get_default_display().get_screens()print allScrs
mainWin = visual.Window([800,800], units='norm', fullscr=True, screen=0) secondWin = visual.Window([800,800], units='norm', fullscr=True, screen=1)
core.wait(3.0)--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/329d770e-1604-4bbf-85c8-7f031720b72d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Jon Peirce http://www.peirce.org.uk