ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/urxvt.pm
(Generate patch)

Comparing rxvt-unicode/src/urxvt.pm (file contents):
Revision 1.101 by root, Wed Jan 18 10:11:03 2006 UTC vs.
Revision 1.103 by root, Wed Jan 18 11:05:09 2006 UTC

433 433
434=item on_focus_out $term 434=item on_focus_out $term
435 435
436Called wheneever the window loses keyboard focus, before rxvt-unicode does 436Called wheneever the window loses keyboard focus, before rxvt-unicode does
437focus out processing. 437focus 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";
1651Start the timer. 1653Start the timer.
1652 1654
1653=item $timer = $timer->start ($tstamp) 1655=item $timer = $timer->start ($tstamp)
1654 1656
1655Set the event trigger time to C<$tstamp> and start the timer. 1657Set the event trigger time to C<$tstamp> and start the timer.
1658
1659=item $timer = $timer->after ($delay)
1660
1661Like 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
1659Stop the timer. 1665Stop the timer.
1660 1666

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines