hide_window

Declaration

hide_window (win: WINDOW)

Description

Hides win. Synonymous with set_window_visible (win, False).

See Also

show_window
is_window_visible
set_window_visible
window and frame functions

Window_Manager

Example

script switch_windows is
  if is_window_visible ('explanation') then
    keep_open := ask ('do you want to close the explanation?', True)
    set_window_visible ('explanation', keep_open)
  end
  hide_window ('questions')
  show_window ('index')
end