Skip to content

MTY_WindowGetNative

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Get the OS's native window.

This function will return an HWND on Windows, an NSWindow * on macOS, and an ANativeWindow * on Android.

void *MTY_WindowGetNative(
    MTY_App *  app,
    MTY_Window window
);

Parameters

app (MTY_App *)

The MTY_App.

window (MTY_Window)

An MTY_Window.

Return value

void *

OS's native window.

Platform support

Windows   macOS   Android  

See also

Module: App

Clone this wiki locally