set_fullscreen


Description:

[ Version ( since = "1.0" ) ]
public void set_fullscreen (bool fullscreen)

Asks to place the stage window in the fullscreen or unfullscreen states.

( 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.

If you want to receive notification of the fullscreen state you should either use the fullscreen and unfullscreen signals, or use the notify signal for the fullscreen_set property

Parameters:

this

a Stage

fullscreen

true to to set the stage fullscreen




2022 vala-language.org