window_max_width

Declaration

window_max_width (win: WINDOW): INTEGER

Description

Returns the maximum width that window win can have. You can set maximum width with set_window_max_size.

See Also

window_max_height
set_window_max_size
set_window_min_size
window and frame functions
Window_Manager

Example

script setup_main_window is
  make_window ('main')
  set_window_min_size ('main', 400, 300)
  set_window_max_size ('main', 
  window_min_width ('main') + 100,
  window_min_height ('main') + 100)
end