codesardine / jak

Hybrid web/desktop applications on Linux
http://codesardine.github.io/Jade-Application-Kit/
GNU General Public License v3.0
89 stars 18 forks source link

Implement FullscreenRequest #63

Open codesardine opened 5 years ago

codesardine commented 5 years ago

https://bugreports.qt.io/browse/PYSIDE-930

codesardine commented 5 years ago

This would work but the signal only gets called once and we can't get back from fullscreen.

self.fullScreenRequested.connect(self._on_full_screen_requested)
 def _on_full_screen_requested(self, request):
        self.win = Instance.retrieve("win")
        if self.win.isFullScreen():
         else:
            self.win.showFullScreen()