… | |
… | |
433 | |
433 | |
434 | =item on_focus_out $term |
434 | =item on_focus_out $term |
435 | |
435 | |
436 | Called wheneever the window loses keyboard focus, before rxvt-unicode does |
436 | Called wheneever the window loses keyboard focus, before rxvt-unicode does |
437 | focus out processing. |
437 | focus out processing. |
|
|
438 | |
|
|
439 | =item on_configure_notify $term, $event |
438 | |
440 | |
439 | =item on_key_press $term, $event, $keysym, $octets |
441 | =item on_key_press $term, $event, $keysym, $octets |
440 | |
442 | |
441 | =item on_key_release $term, $event, $keysym |
443 | =item on_key_release $term, $event, $keysym |
442 | |
444 | |
… | |
… | |
1588 | my $env = $self->{term}->env; |
1590 | my $env = $self->{term}->env; |
1589 | # we can't hope to reproduce the locale algorithm, so nuke LC_ALL and set LC_CTYPE. |
1591 | # we can't hope to reproduce the locale algorithm, so nuke LC_ALL and set LC_CTYPE. |
1590 | delete $env->{LC_ALL}; |
1592 | delete $env->{LC_ALL}; |
1591 | $env->{LC_CTYPE} = $self->{term}->locale; |
1593 | $env->{LC_CTYPE} = $self->{term}->locale; |
1592 | |
1594 | |
1593 | urxvt::term->new ($env, $self->{term}->resource ("name"), |
1595 | urxvt::term->new ($env, "popup", |
1594 | "--perl-lib" => "", "--perl-ext-common" => "", "-pty-fd" => -1, "-sl" => 0, "-b" => 0, |
1596 | "--perl-lib" => "", "--perl-ext-common" => "", "-pty-fd" => -1, "-sl" => 0, "-b" => 0, |
1595 | "--transient-for" => $self->{term}->parent, |
1597 | "--transient-for" => $self->{term}->parent, |
1596 | "-display" => $self->{term}->display_id, |
1598 | "-display" => $self->{term}->display_id, |
1597 | "-pe" => "urxvt-popup") |
1599 | "-pe" => "urxvt-popup") |
1598 | or die "unable to create popup window\n"; |
1600 | or die "unable to create popup window\n"; |
… | |
… | |
1651 | Start the timer. |
1653 | Start the timer. |
1652 | |
1654 | |
1653 | =item $timer = $timer->start ($tstamp) |
1655 | =item $timer = $timer->start ($tstamp) |
1654 | |
1656 | |
1655 | Set the event trigger time to C<$tstamp> and start the timer. |
1657 | Set the event trigger time to C<$tstamp> and start the timer. |
|
|
1658 | |
|
|
1659 | =item $timer = $timer->after ($delay) |
|
|
1660 | |
|
|
1661 | Like C<start>, but sets the expiry timer to c<urxvt::NOW + $delay>. |
1656 | |
1662 | |
1657 | =item $timer = $timer->stop |
1663 | =item $timer = $timer->stop |
1658 | |
1664 | |
1659 | Stop the timer. |
1665 | Stop the timer. |
1660 | |
1666 | |