… | |
… | |
1372 | |
1372 | |
1373 | =item ($row, $col) = $term->selection_beg ([$row, $col]) |
1373 | =item ($row, $col) = $term->selection_beg ([$row, $col]) |
1374 | |
1374 | |
1375 | =item ($row, $col) = $term->selection_end ([$row, $col]) |
1375 | =item ($row, $col) = $term->selection_end ([$row, $col]) |
1376 | |
1376 | |
1377 | Return the current values of the selection mark, begin or end positions, |
1377 | Return the current values of the selection mark, begin or end positions. |
1378 | and optionally set them to new values. |
1378 | |
|
|
1379 | When arguments are given, then the selection coordinates are set to |
|
|
1380 | C<$row> and C<$col>, and the selection screen is set to the current |
|
|
1381 | screen. |
|
|
1382 | |
|
|
1383 | =item $screen = $term->selection_screen ([$screen]) |
|
|
1384 | |
|
|
1385 | Returns the current selection screen, and then optionally sets it. |
1379 | |
1386 | |
1380 | =item $term->selection_make ($eventtime[, $rectangular]) |
1387 | =item $term->selection_make ($eventtime[, $rectangular]) |
1381 | |
1388 | |
1382 | Tries to make a selection as set by C<selection_beg> and |
1389 | Tries to make a selection as set by C<selection_beg> and |
1383 | C<selection_end>. If C<$rectangular> is true (default: false), a |
1390 | C<selection_end>. If C<$rectangular> is true (default: false), a |