Scoop API

scoop:scoop.window:0.1.0

Window

class Window

source · line 32
public
public class Window internal constructor(internal val owner: WindowOwner)

An explicitly destroyed native window owned by its application's thread.

Extensions

function prePresentNotify

source · line 211
public
public fun prePresentNotify(): Unit

Presentation synchronization belongs to the renderer.

function requestRedraw

source · line 58
public
public fun requestRedraw(): Unit

Coalesces a redraw until this window can draw; never calls a handler recursively.

function requestClose

source · line 69
public
public fun requestClose(): Boolean

Sends the same close request as a frame button, without bypassing application policy.

function requestDestroy

source · line 64
public
public fun requestDestroy(): Unit

Starts Closing; existing leases delay the eventual Destroyed event.

function requestFocus

source · line 154
public
public fun requestFocus(): RequestStatus

Asks the window system to activate this window; native events confirm focus.