API:WindowGetPopable
From RoR Wiki
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–trueif 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" )
