set_window_hideable (win: WINDOW; value: BOOLEAN)
All windows are hideable by default. If value is False, then win cannot be hidden by the user. You can still close the window by calling hide_window from script.
If a window is not hideable, then on_can_close_window is not fired when the user tries to close the window. If the window is hideable, then on_can_close_window is called and the script determines whether to close the window.
hide_window
on_can_close_window
window and frame functions
Window_Manager