Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:WindowGetPopable

From RoR Wiki
Revision as of 19:51, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UI Lua API · Window functions
Version: WAR 1.4.8

Returns whether a window is popable, that is, raised above its siblings when shown or clicked.

popable = WindowGetPopable(windowName)

Arguments

windowName
string – Name of the window.

Returns

popable
boolean – true if the window's popable flag is set.

Details

  • This reads the flag set with WindowSetPopable. See that page for what the flag does.
  • The stock UI never calls WindowGetPopable.

Errors

  • Error in function call 'WindowGetPopable': Window %s does not exist

Example

A minimal example built from the signature above:

local popable = WindowGetPopable( "MyWindow" )

See also