Skip to content
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

Fullscreen toggle? #14

Closed
raichu opened this issue Oct 16, 2013 · 2 comments
Closed

Fullscreen toggle? #14

raichu opened this issue Oct 16, 2013 · 2 comments

Comments

@raichu
Copy link

raichu commented Oct 16, 2013

Is it possible with the current bindings?

@niemeyer
Copy link
Contributor

Digging through the documentation we can see that QWindow has a "showFullScreen" slot:

http://qt-project.org/doc/qt-5.0/qtgui/qwindow.html

This may easily be called from Go with:

window.Call("showFullScreen")

@raff
Copy link

raff commented Mar 13, 2014

This doesn't seem to work (but I have read of similar issues in Qt, so it may not be GoQML fault).

For what is worth, this works (use this instead of window.Show()):
window.Call("showMaximized")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants