#1
|
|||
|
|||
Full Screen and Dialogue
Hello,
I have just noticed that when I run Vizard in fullscreen mode the screen goes black whenever I display an input window (using viz.input) for user input. Is there any way to avoid it and keep the Vizard display on the screen while the input window is displayed? Very many thanks. Greetings Amir |
#2
|
|||
|
|||
Seem like you have the reverse problem of the OP of this thread. It should not matter whether you're running your program fullscreen or not. Again, some sample code showing the problem would help in clarifying the problem.
|
#3
|
|||
|
|||
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()) 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 |
#4
|
|||
|
|||
I don't exactly understand your problem (as you sample code is not complete). However, you can get rid of the border of a window using:
Code:
viz.window.setBorder(viz.BORDER_NONE) |
#5
|
|||
|
|||
Hi Frank
Thanks for the hint. Greetings Amir |
Thread Tools | |
Display Modes | Rate This Thread |
|
|