Reference: Window (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: TitleChapter 19
Win32 Modules and Extensions
Next: Reference: Write
 

Window

$cons->Window([flag, left, top, right, bottom])

Gets or sets the current console window size. If called without arguments, returns a four-element list containing the current window coordinates in the form of (left, top, right, bottom). To set the window size, you have to specify an additional flag parameter. If it is 0 (zero), coordinates are considered relative to the current coordinates; if it is non-zero, coordinates are absolute.


Previous: Reference: TitlePerl in a NutshellNext: Reference: Write
Reference: TitleBook IndexReference: Write

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.