-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full-screen mode #33
Comments
No. We'll have to add support for it here in the |
Actually ... this works: import PySide6
from wgpu.gui.qt import WgpuCanvas, run
import pygfx as gfx
canvas = WgpuCanvas(size=(900, 400))
canvas.showFullScreen()
renderer = gfx.renderers.WgpuRenderer(canvas)
... etc And for glfw: canvas = WgpuCanvas(size=(900, 400))
import glfw
glfw.set_window_monitor(canvas._window, glfw.get_primary_monitor(), 0, 0, 1920, 1080, glfw.DONT_CARE)
... Would be nice to support |
Let's use this issue to track the API changes we would propose.
I guess it would also require some method to get a list of monitors? |
I think it can default to the default / current screen. Qt's This might be a good time to also consider other window states: normal (windowed), hidden, minimized, maximixed, fullscreen. |
Great, the It would be nice to allow the user to set the full-screen mode. Thank you so much for your excellent work! |
Are you really trying to abstract away Qt and GLFW. Why not just document your short examples. I strongly doubt any code beyond simple examples can be made to run agnosticqlly between the two |
Well, this is a pretty deep topic.
Hope that explains. |
Is it possible to run pygfx applications in a full-screen mode without the top "title" bar?
The text was updated successfully, but these errors were encountered: