Window
Can any body tell me how to make the application full screen when clicked on the maximize button ?
6 replies
Is think there is no platform-independent way of receiving system menu events, so you will have to reimplement the change event and modify the window state accordingly.
- {
- {
- {
- showFullscreen();
- }
- }
- }
Brain to terminal. Not tested. Exemplary.
Two additions:
- you are tinkering with default behaviour here; the user usually does not expect that a window goes into fullscreen when the maximize button is clicked
- a fullscreen window has no system menu; you will have to provide other means to return from fullscreen, otherwise you are trapped in it
You must log in to post a reply. Not a member yet? Register here!



