Skip to content

MTY_WindowSetFullscreen

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Put a window into or out of fullscreen mode.

libmatoya uses "borderless windowed" mode exclusively and does not support exclusive fullscreen mode.

void MTY_WindowSetFullscreen(
    MTY_App *  app,
    MTY_Window window,
    bool       fullscreen
);

Parameters

app (MTY_App *)

The MTY_App.

window (MTY_Window)

An MTY_Window.

fullscreen (bool)

Set true to put the window into fullscreen, false to take it out.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: App

Clone this wiki locally