WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 11-13-2013, 05:31 PM
javadi javadi is offline
Member
 
Join Date: Mar 2013
Location: London
Posts: 33
Hi,

Thanks again for your reply. Yes, I read that post before posting mine.

Apparently it does matter whether the dialogue window is popped-up over a full screen or a window. Here it goes a sample code,

Code:
import viz
import viztask

viz.setOption('viz.fullscreen', '1')

viz.go()


def MainProcedure():

	...

	yield viztask.waitDraw()

	Age = viz.input('Age?')	

	...

if __name__ == "__main__":
	viztask.schedule(MainProcedure())
Two things might happen when the run reaches the viz.input line: (1) it either make the screen black, display the Input window and then back to normal display, or (2) it minimizes the fullscreen (and show desktop), display the Input window and then back to normal display.

I can somehow understand the reason behind it: it might not be trivial to have a fullscreen display and display a window over it, as it somehow violate the definition of fullscreen. But, we know that it sometimes happen.

For now, as a work-around I open the Vizard display in window mode, but to the size of the screen. It is a bit annoying as you see the border of the window, but the dialogue window doesn't affect the original display.

Greetings
Amir
Reply With Quote
 

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


All times are GMT -7. The time now is 03:30 AM.


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