smg
view release on metacpan or search on metacpan
<P>
<EM>$win:</EM> the window you created with crewin and saved with savwin
<P>
<HR>
<H1><A NAME="movearea">movearea</A></H1>
<P>
<PRE> The Move function moves a rectangle of text from one window to
another window. Given two points in opposite corners of the rectangle.
When $win and $towin are the same windows the intersection between
source area and target area may not be what you expect. :-)
</PRE>
<P>
<STRONG>Syntax:</STRONG>
<P>
<PRE> movearea ($win ,$Y0 ,$X0 ,$Y1 ,$X1, $towin, $toY, $toX, $flags);
</PRE>
<P>
<PRE>
</PRE>
<P>
<STRONG>Parameters:</STRONG>
<P>
<EM>($X0,$Y0) and ($X1,$Y1):</EM> are coordinates of two opposite corners of the rectangle to move.
<P>
<EM>$toX:</EM> Number of the column where to copy the area
<P>
<EM>$toY:</EM> Number of the line where to copy the area.
<P>
<EM>$flags:</EM> A character string with one character/option:
<P>
<EM>C:</EM> Just copy don't erase text from source window.
<P>
<EM>T:</EM> Move only the text not the video attributes.
<P>
<EM>$win:</EM> the window you created with crewin or loadwin
<P>
<EM>$towin:</EM> another window you created with crewin or loadwin
<P>
<HR>
<H1><A NAME="movewin">movewin</A></H1>
<P>
<PRE> The function relocates a window on a
physical screen and preserves the pasting order.
</PRE>
<P>
<STRONG>Syntax:</STRONG>
<P>
<PRE> movewin ($win ,$PbId, $Y, $X);
</PRE>
<P>
<PRE>
</PRE>
<P>
<STRONG>Parameters:</STRONG>
<P>
<EM>$X,$Y:</EM> New position of the window on the physical screen.
<P>
<EM>$PbId:</EM> The physical screen you defined in initscr
<P>
<EM>$win:</EM> the window you created with crewin or loadwin
<P>
<HR>
<H1><A NAME="nametocode">nametocode</A></H1>
<P>
<PRE> The function translates the
key name of a key on the keyboard into its associated key code.
</PRE>
<P>
<STRONG>Syntax:</STRONG>
<P>
<PRE> nametocode ($name ,$code);
</PRE>
<P>
<STRONG>Parameters:</STRONG>
<P>
<EM>$name:</EM> Ascii String Giving The name of the pressed key.
<P>
<EM>$code:</EM> A 2byte integer number last pressed code; this code is using 0-255 for
extended ascii character set, and over for the other keys (ex: F10, PF2,
SELECT ...)
<P>
<HR>
( run in 0.314 second using v1.01-cache-2.11-cpan-5511b514fd6 )