… | |
… | |
708 | |
708 | |
709 | =item on_wm_delete_window $term, $event |
709 | =item on_wm_delete_window $term, $event |
710 | |
710 | |
711 | Called when various types of ClientMessage events are received (all with |
711 | Called when various types of ClientMessage events are received (all with |
712 | format=32, WM_PROTOCOLS or WM_PROTOCOLS:WM_DELETE_WINDOW). |
712 | format=32, WM_PROTOCOLS or WM_PROTOCOLS:WM_DELETE_WINDOW). |
|
|
713 | |
|
|
714 | =item on_bell $term |
|
|
715 | |
|
|
716 | Called on receipt of a bell character. |
713 | |
717 | |
714 | =back |
718 | =back |
715 | |
719 | |
716 | =cut |
720 | =cut |
717 | |
721 | |
… | |
… | |
1372 | |
1376 | |
1373 | =item ($row, $col) = $term->selection_beg ([$row, $col]) |
1377 | =item ($row, $col) = $term->selection_beg ([$row, $col]) |
1374 | |
1378 | |
1375 | =item ($row, $col) = $term->selection_end ([$row, $col]) |
1379 | =item ($row, $col) = $term->selection_end ([$row, $col]) |
1376 | |
1380 | |
1377 | Return the current values of the selection mark, begin or end positions, |
1381 | Return the current values of the selection mark, begin or end positions. |
1378 | and optionally set them to new values. |
1382 | |
|
|
1383 | When arguments are given, then the selection coordinates are set to |
|
|
1384 | C<$row> and C<$col>, and the selection screen is set to the current |
|
|
1385 | screen. |
|
|
1386 | |
|
|
1387 | =item $screen = $term->selection_screen ([$screen]) |
|
|
1388 | |
|
|
1389 | Returns the current selection screen, and then optionally sets it. |
1379 | |
1390 | |
1380 | =item $term->selection_make ($eventtime[, $rectangular]) |
1391 | =item $term->selection_make ($eventtime[, $rectangular]) |
1381 | |
1392 | |
1382 | Tries to make a selection as set by C<selection_beg> and |
1393 | Tries to make a selection as set by C<selection_beg> and |
1383 | C<selection_end>. If C<$rectangular> is true (default: false), a |
1394 | C<selection_end>. If C<$rectangular> is true (default: false), a |