go-qml / qml

QML support for the Go language
Other
1.96k stars 187 forks source link

Fullscreen toggle? #14

Closed raichu closed 11 years ago

raichu commented 11 years ago

Is it possible with the current bindings?

niemeyer commented 11 years ago

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 commented 10 years ago

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")