Skip to content

MTY_WindowActivate

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Activate or deactivate a window.

Activating a window brings it to the foreground and focuses it, deactivating a window hides it. Windows are automatically activated when they are created.

void MTY_WindowActivate(
    MTY_App *  app,
    MTY_Window window,
    bool       active
);

Parameters

app (MTY_App *)

The MTY_App.

window (MTY_Window)

An MTY_Window.

active (bool)

Set true to activate, false to deactivate.

Platform support

Windows   macOS   Linux  

See also

Module: App

Clone this wiki locally