[ Version ( since = "2.2" ) ]
public void fullscreen ()
Asks to place this in the fullscreen state.
Note that you shouldn’t assume the window is definitely full screen afterward, because other entities (e.g. the user or window manager) could unfullscreen it again, and not all window managers honor requests to fullscreen windows. But normally the window will end up fullscreen. Just don’t write code that crashes if not.
You can track the fullscreen state via the “window-state-event” signal on Widget.
this |
a Window |