make_window

Declaration

make_window (name: STRING)

Description

Creates a window called name. Use is_window to make sure the window doesn't already exist. Once you've called make_window, you can use this name with all of the other window functions.

Creating a window also creates a frame by default. If the window is called 'main', then the frame 'main_window_frame' is created.

See Also

is_window
delete_window
window and frame functions
Window_Manager

Example

script make_explain_window is
  if not is_window ('explanation') then
    make_window ('explanation')
  end
end