WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-24-2012, 05:33 AM
dpamplona dpamplona is offline
Member
 
Join Date: Dec 2011
Posts: 7
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?
Reply With Quote
  #2  
Old 01-25-2012, 12:30 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
What version of Vizard are you using? The viz.window.setFullscreenRectangle command was introduced in Vizard 4.0.
Reply With Quote
  #3  
Old 01-25-2012, 02:55 PM
dpamplona dpamplona is offline
Member
 
Join Date: Dec 2011
Posts: 7
version 3

ohhhhhhhhhh...
(I have version 3.)
In the meanwhile I tried the setDisplayMode, and it didn't work as well.
So, I can I set the window size larger than the monitor?
Is is possible at all?

(by the way, just a suggestion, case there is a function that it is only available from a certain version it should be written in the documentation page. For instance, the documentation of numpy has this feature)
Reply With Quote
Reply

Tags
monitor resolution, setfullscreenrectangle, window size

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
3D stereo on a secondary monitor (projected wall) michaelrepucci Vizard 1 07-29-2008 12:25 PM
Monitor Modes & Vizard (problems...) tmcw Vizard 1 10-03-2007 08:29 AM
Viewpoints outside the main window sjroorda Vizard 7 11-03-2005 07:11 AM


All times are GMT -7. The time now is 12:25 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC