… | |
… | |
205 | |
205 | |
206 | Clicking a button will activate that tab. Pressing B<Shift-Left> and |
206 | Clicking a button will activate that tab. Pressing B<Shift-Left> and |
207 | B<Shift-Right> will switch to the tab left or right of the current one, |
207 | B<Shift-Right> will switch to the tab left or right of the current one, |
208 | while B<Shift-Down> creates a new tab. |
208 | while B<Shift-Down> creates a new tab. |
209 | |
209 | |
|
|
210 | The tabbar itself can be configured similarly to a normal terminal, but |
|
|
211 | with a resource class of C<URxvt.tabbed>. In addition, it supports the |
|
|
212 | following four resources (shown with defaults): |
|
|
213 | |
|
|
214 | URxvt.tabbed.tabbar-fg: <colour-index, default 3> |
|
|
215 | URxvt.tabbed.tabbar-bg: <colour-index, default 0> |
|
|
216 | URxvt.tabbed.tab-fg: <colour-index, default 0> |
|
|
217 | URxvt.tabbed.tab-bg: <colour-index, default 1> |
|
|
218 | |
|
|
219 | See I<COLOR AND GRAPHICS> in the @@RXVT_NAME@@(1) manpage for valid |
|
|
220 | indices. |
|
|
221 | |
210 | =item mark-urls |
222 | =item mark-urls |
211 | |
223 | |
212 | Uses per-line display filtering (C<on_line_update>) to underline urls and |
224 | Uses per-line display filtering (C<on_line_update>) to underline urls and |
213 | make them clickable. When middle-clicked, the program specified in the |
225 | make them clickable. When middle-clicked, the program specified in the |
214 | resource C<urlLauncher> (default C<x-www-browser>) will be started with |
226 | resource C<urlLauncher> (default C<x-www-browser>) will be started with |
… | |
… | |
740 | Return the foreground/background colour index, respectively. |
752 | Return the foreground/background colour index, respectively. |
741 | |
753 | |
742 | =item $rend = urxvt::SET_FGCOLOR $rend, $new_colour |
754 | =item $rend = urxvt::SET_FGCOLOR $rend, $new_colour |
743 | |
755 | |
744 | =item $rend = urxvt::SET_BGCOLOR $rend, $new_colour |
756 | =item $rend = urxvt::SET_BGCOLOR $rend, $new_colour |
|
|
757 | |
|
|
758 | =item $rend = urxvt::SET_COLOR $rend, $new_fg, $new_bg |
745 | |
759 | |
746 | Replace the foreground/background colour in the rendition mask with the |
760 | Replace the foreground/background colour in the rendition mask with the |
747 | specified one. |
761 | specified one. |
748 | |
762 | |
749 | =item $value = urxvt::GET_CUSTOM $rend |
763 | =item $value = urxvt::GET_CUSTOM $rend |
… | |
… | |
885 | # clear package |
899 | # clear package |
886 | %$TERM = (); |
900 | %$TERM = (); |
887 | } |
901 | } |
888 | |
902 | |
889 | $retval |
903 | $retval |
|
|
904 | } |
|
|
905 | |
|
|
906 | sub SET_COLOR($$$) { |
|
|
907 | SET_BGCOLOR (SET_FGCOLOR ($_[0], $_[1]), $_[2]) |
890 | } |
908 | } |
891 | |
909 | |
892 | # urxvt::term::extension |
910 | # urxvt::term::extension |
893 | |
911 | |
894 | package urxvt::term::extension; |
912 | package urxvt::term::extension; |
… | |
… | |
1384 | Adds the specified events to the vt event mask. Useful e.g. when you want |
1402 | Adds the specified events to the vt event mask. Useful e.g. when you want |
1385 | to receive pointer events all the times: |
1403 | to receive pointer events all the times: |
1386 | |
1404 | |
1387 | $term->vt_emask_add (urxvt::PointerMotionMask); |
1405 | $term->vt_emask_add (urxvt::PointerMotionMask); |
1388 | |
1406 | |
|
|
1407 | =item $term->focus_in |
|
|
1408 | |
|
|
1409 | =item $term->focus_out |
|
|
1410 | |
|
|
1411 | =item $term->key_press ($state, $keycode[, $time]) |
|
|
1412 | |
|
|
1413 | =item $term->key_release ($state, $keycode[, $time]) |
|
|
1414 | |
|
|
1415 | Deliver various fake events to to terminal. |
|
|
1416 | |
1389 | =item $window_width = $term->width |
1417 | =item $window_width = $term->width |
1390 | |
1418 | |
1391 | =item $window_height = $term->height |
1419 | =item $window_height = $term->height |
1392 | |
1420 | |
1393 | =item $font_width = $term->fwidth |
1421 | =item $font_width = $term->fwidth |