API:PageWindowClearSplitableWindows
From RoR Wiki
UI Lua API · PageWindow functions
Version: WAR 1.4.8
Removes all windows from a PageWindow's list of splitable windows.
PageWindowClearSplitableWindows(pageWindowName)
Arguments
- pageWindowName
string– Name of the PageWindow.
Returns
Nothing.
Details
- Empties the list that PageWindowAddSplitableWindow fills. The windows themselves are not changed.
- The pages are not laid out again; call PageWindowUpdatePages afterwards.
- The stock UI never calls this function.
Errors
Error in function call 'PageWindowClearSplitableWindows': Window %s does not existError in function call 'PageWindowClearSplitableWindows': Window %s is not a PageWindow
Example
A minimal example built from the signature:
PageWindowClearSplitableWindows( "MyBookPageWindow" )
