TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::cocoa Namespace Reference

Functions

void FloatAboveAppWindows (void *nsWindow)
 Keeps nsWindow (an NSWindow) above the app's other windows while the app is active, and at the normal level while another app is: a floating panel's behavior, for a window with an owner that the user places (a torn-off panel).

Function Documentation

◆ FloatAboveAppWindows()

void tachyon::cocoa::FloatAboveAppWindows ( void * nsWindow)

Keeps nsWindow (an NSWindow) above the app's other windows while the app is active, and at the normal level while another app is: a floating panel's behavior, for a window with an owner that the user places (a torn-off panel).

It's used in place of an SDL parent, which on macOS makes the window a child window that moves with its owner.