WindowPlacement



Describes how the window is placed on the screen.

Summary

Enum Values

Floating

Window don't occupy the all available space and can be moved and resized by the user.

Fullscreen

The window is in fullscreen mode and occupies all available space of the screen, including the space that is occupied by the screen insets (taskbar/dock and top-level application menu on macOs).

Maximized

The window is maximized and occupies all available space on the screen excluding the space that is occupied by the screen insets (taskbar/dock and top-level application menu on macOs).

Public functions

WindowPlacement
valueOf(value: String)

Returns the enum constant of this type with the specified name.

android
Array<WindowPlacement>

Returns an array containing the constants of this enum type, in the order they're declared.

android

Public properties

EnumEntries<WindowPlacement>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

android

Enum Values

Floating

val WindowPlacement.FloatingWindowPlacement

Window don't occupy the all available space and can be moved and resized by the user.

Fullscreen

val WindowPlacement.FullscreenWindowPlacement

The window is in fullscreen mode and occupies all available space of the screen, including the space that is occupied by the screen insets (taskbar/dock and top-level application menu on macOs).

Maximized

val WindowPlacement.MaximizedWindowPlacement

The window is maximized and occupies all available space on the screen excluding the space that is occupied by the screen insets (taskbar/dock and top-level application menu on macOs).

Public functions

valueOf

fun valueOf(value: String): WindowPlacement

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<WindowPlacement>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

entries

val entriesEnumEntries<WindowPlacement>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.