Main window size larger than monitor
Hi!
I would like to set the Main window size larger that the monitor resolution in full screen (like a virtual desktop).
For that, I thought I should use the command:
viz.window.getFullscreenRectangle([x,y, w,h])
However when I write:
--------------------------------
import viz,math
viz.window.setFullscreenRectangle([0, 0, 2024, 2024])
(...)
-----------------------------------------------------
I got the attribute Error:
AttributeError: '_WindowInterface' object has no attribute 'setFullscreenRectangle'
However if I type:
----------------------------------------------------
import viz,math
if viz.window.getFullscreen():
print 'fullscreen'
else:
print 'window
-------------------------------------------------------
it gives the correct output 'fullscreen'
This is wired, because both of them are part of the same module viz:window.
Can anybody explain to me what is going on? What should I correct? And even more, is setFullScreenRectangle the command that I should use?
|