window_bottom

Declaration

window_bottom (win: WINDOW): INTEGER

Description

Returns the position of the bottom side of win. On Windows, this coordinate is relative to the left side of the main window. On the Mac, it's relative to the desktop.

See Also

set_window_area
window_height
window_left
window_right
window_top
window_width
window and frame functions
Window_Manager

Example

script resize_window is
  -- resize the window without moving it
  set_window_area ('main', window_left ('main'), 
                           window_top ('main'),
                           window_width ('main') + 10
                           window_height ('main') + 10)
end