… | |
… | |
182 | tab. |
182 | tab. |
183 | |
183 | |
184 | Clicking a button will activate that tab. Pressing Shift-Left and |
184 | Clicking a button will activate that tab. Pressing Shift-Left and |
185 | Shift-Right will switch to the tab left or right of the current one, |
185 | Shift-Right will switch to the tab left or right of the current one, |
186 | while Shift-Down creates a new tab. |
186 | while Shift-Down creates a new tab. |
|
|
187 | |
|
|
188 | The tabbar itself can be configured similarly to a normal terminal, |
|
|
189 | but with a resource class of "URxvt.tabbed". In addition, it |
|
|
190 | supports the following four resources (shown with defaults): |
|
|
191 | |
|
|
192 | URxvt.tabbed.tabbar-fg: <colour-index, default 3> |
|
|
193 | URxvt.tabbed.tabbar-bg: <colour-index, default 0> |
|
|
194 | URxvt.tabbed.tab-fg: <colour-index, default 0> |
|
|
195 | URxvt.tabbed.tab-bg: <colour-index, default 1> |
|
|
196 | |
|
|
197 | See *COLOR AND GRAPHICS* in the rxvt(1) manpage for valid indices. |
187 | |
198 | |
188 | mark-urls |
199 | mark-urls |
189 | Uses per-line display filtering ("on_line_update") to underline urls |
200 | Uses per-line display filtering ("on_line_update") to underline urls |
190 | and make them clickable. When middle-clicked, the program specified |
201 | and make them clickable. When middle-clicked, the program specified |
191 | in the resource "urlLauncher" (default "x-www-browser") will be |
202 | in the resource "urlLauncher" (default "x-www-browser") will be |
… | |
… | |
610 | $background = urxvt::GET_BASEBG $rend |
621 | $background = urxvt::GET_BASEBG $rend |
611 | Return the foreground/background colour index, respectively. |
622 | Return the foreground/background colour index, respectively. |
612 | |
623 | |
613 | $rend = urxvt::SET_FGCOLOR $rend, $new_colour |
624 | $rend = urxvt::SET_FGCOLOR $rend, $new_colour |
614 | $rend = urxvt::SET_BGCOLOR $rend, $new_colour |
625 | $rend = urxvt::SET_BGCOLOR $rend, $new_colour |
|
|
626 | $rend = urxvt::SET_COLOR $rend, $new_fg, $new_bg |
615 | Replace the foreground/background colour in the rendition mask with |
627 | Replace the foreground/background colour in the rendition mask with |
616 | the specified one. |
628 | the specified one. |
617 | |
629 | |
618 | $value = urxvt::GET_CUSTOM $rend |
630 | $value = urxvt::GET_CUSTOM $rend |
619 | Return the "custom" value: Every rendition has 5 bits for use by |
631 | Return the "custom" value: Every rendition has 5 bits for use by |
… | |
… | |
860 | $term->vt_emask_add ($x_event_mask) |
872 | $term->vt_emask_add ($x_event_mask) |
861 | Adds the specified events to the vt event mask. Useful e.g. when you |
873 | Adds the specified events to the vt event mask. Useful e.g. when you |
862 | want to receive pointer events all the times: |
874 | want to receive pointer events all the times: |
863 | |
875 | |
864 | $term->vt_emask_add (urxvt::PointerMotionMask); |
876 | $term->vt_emask_add (urxvt::PointerMotionMask); |
|
|
877 | |
|
|
878 | $term->focus_in |
|
|
879 | $term->focus_out |
|
|
880 | $term->key_press ($state, $keycode[, $time]) |
|
|
881 | $term->key_release ($state, $keycode[, $time]) |
|
|
882 | Deliver various fake events to to terminal. |
865 | |
883 | |
866 | $window_width = $term->width |
884 | $window_width = $term->width |
867 | $window_height = $term->height |
885 | $window_height = $term->height |
868 | $font_width = $term->fwidth |
886 | $font_width = $term->fwidth |
869 | $font_height = $term->fheight |
887 | $font_height = $term->fheight |