SDLDeleteWindow Class Reference

Section Contents

Overview

Deletes previously created window of the SDL application.

@since SDL 6.0

-initWithId:

Objective-C

- (nonnull instancetype)initWithId:(NSUInteger)windowId;

Swift

init(id windowId: UInt)

Parameters

windowId

A unique ID to identify the window. The value of ‘0’ will always be the default main window on the main display and cannot be deleted.

windowID

A unique ID to identify the window.

The value of ‘0’ will always be the default main window on the main display and cannot be deleted.

See

PredefinedWindows enum.

Objective-C

@property (nonatomic, strong) NSNumber<SDLUInt> *_Nonnull windowID;

Swift

var windowID: NSNumber & SDLUInt { get set }