… | |
… | |
446 | =item $octets |
446 | =item $octets |
447 | |
447 | |
448 | Either binary data or - more common - a text string encoded in a |
448 | Either binary data or - more common - a text string encoded in a |
449 | locale-specific way. |
449 | locale-specific way. |
450 | |
450 | |
|
|
451 | =item $keysym |
|
|
452 | |
|
|
453 | an integer that is a valid X11 keysym code. You can convert a string |
|
|
454 | into a keysym and viceversa by using C<XStringToKeysym> and |
|
|
455 | C<XKeysymToString>. |
|
|
456 | |
451 | =back |
457 | =back |
452 | |
458 | |
453 | =head2 Extension Objects |
459 | =head2 Extension Objects |
454 | |
460 | |
455 | Every perl extension is a perl class. A separate perl object is created |
461 | Every perl extension is a perl class. A separate perl object is created |
… | |
… | |
975 | sub invoke { |
981 | sub invoke { |
976 | local $TERM = shift; |
982 | local $TERM = shift; |
977 | my $htype = shift; |
983 | my $htype = shift; |
978 | |
984 | |
979 | if ($htype == 0) { # INIT |
985 | if ($htype == 0) { # INIT |
980 | my @dirs = ((split /:/, $TERM->resource ("perl_lib")), "$LIBDIR/perl"); |
986 | my @dirs = ((split /:/, $TERM->resource ("perl_lib")), "$ENV{HOME}/.urxvt/ext", "$LIBDIR/perl"); |
981 | |
987 | |
982 | my %ext_arg; |
988 | my %ext_arg; |
983 | |
989 | |
984 | { |
990 | { |
985 | my @init = @TERM_INIT; |
991 | my @init = @TERM_INIT; |
… | |
… | |
1382 | |
1388 | |
1383 | This method should only be called during the C<on_start> hook, as there is |
1389 | This method should only be called during the C<on_start> hook, as there is |
1384 | only one resource database per display, and later invocations might return |
1390 | only one resource database per display, and later invocations might return |
1385 | the wrong resources. |
1391 | the wrong resources. |
1386 | |
1392 | |
1387 | =item $success = $term->parse_keysym ($keysym_spec, $command_string) |
1393 | =item $success = $term->parse_keysym ($key, $octets) |
1388 | |
1394 | |
1389 | Adds a keymap translation exactly as specified via a resource. See the |
1395 | Adds a key binding exactly as specified via a resource. See the |
1390 | C<keysym> resource in the @@RXVT_NAME@@(1) manpage. |
1396 | C<keysym> resource in the @@RXVT_NAME@@(1) manpage. |
1391 | |
1397 | |
1392 | =item $rend = $term->rstyle ([$new_rstyle]) |
1398 | =item $rend = $term->rstyle ([$new_rstyle]) |
1393 | |
1399 | |
1394 | Return and optionally change the current rendition. Text that is output by |
1400 | Return and optionally change the current rendition. Text that is output by |
… | |
… | |
1933 | =item $term->XMoveResizeWindow ($window, $x, $y, $width, $height) |
1939 | =item $term->XMoveResizeWindow ($window, $x, $y, $width, $height) |
1934 | |
1940 | |
1935 | =item ($x, $y, $child_window) = $term->XTranslateCoordinates ($src, $dst, $x, $y) |
1941 | =item ($x, $y, $child_window) = $term->XTranslateCoordinates ($src, $dst, $x, $y) |
1936 | |
1942 | |
1937 | =item $term->XChangeInput ($window, $add_events[, $del_events]) |
1943 | =item $term->XChangeInput ($window, $add_events[, $del_events]) |
|
|
1944 | |
|
|
1945 | =item $keysym = $term->XStringToKeysym ($string) |
|
|
1946 | |
|
|
1947 | =item $string = $term->XKeysymToString ($keysym) |
1938 | |
1948 | |
1939 | Various X or X-related functions. The C<$term> object only serves as |
1949 | Various X or X-related functions. The C<$term> object only serves as |
1940 | the source of the display, otherwise those functions map more-or-less |
1950 | the source of the display, otherwise those functions map more-or-less |
1941 | directly onto the X functions of the same name. |
1951 | directly onto the X functions of the same name. |
1942 | |
1952 | |