minimizeWindowContainer

abstract fun minimizeWindowContainer(id: String, tag: String? = null): Boolean

Minimizes a WindowContainer by id and optional tag. This can only be used when there is a stage open.

Return

true if succeeded; false otherwise.

Parameters

id

Id of window container that you want to minimize.

tag

When tag is null, all opened window containers with the same id are minimized. When set, only the window with the same id and tag is minimized.


abstract fun minimizeWindowContainer(): Boolean

Minimizes the current WindowContainer. This can only be used when there is a stage open.

Return

true if succeeded; false otherwise.