Window.fullscreenOnMonitor

Asks to place window in the fullscreen state. Note that you shouldn't assume the window is definitely full screen afterward.

You can track the fullscreen state via the "window-state-event" signal on #GtkWidget.

class Window
void
fullscreenOnMonitor

Parameters

screen gdk.screen.Screen

a #GdkScreen to draw to

monitor int

which monitor to go fullscreen on