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.131 by root, Sun Jan 29 20:51:28 2006 UTC vs.
Revision 1.132 by root, Mon Feb 6 05:40:15 2006 UTC

205 205
206Clicking a button will activate that tab. Pressing B<Shift-Left> and 206Clicking a button will activate that tab. Pressing B<Shift-Left> and
207B<Shift-Right> will switch to the tab left or right of the current one, 207B<Shift-Right> will switch to the tab left or right of the current one,
208while B<Shift-Down> creates a new tab. 208while B<Shift-Down> creates a new tab.
209 209
210The tabbar itself can be configured similarly to a normal terminal, but
211with a resource class of C<URxvt.tabbed>. In addition, it supports the
212following 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
219See I<COLOR AND GRAPHICS> in the @@RXVT_NAME@@(1) manpage for valid
220indices.
221
210=item mark-urls 222=item mark-urls
211 223
212Uses per-line display filtering (C<on_line_update>) to underline urls and 224Uses per-line display filtering (C<on_line_update>) to underline urls and
213make them clickable. When middle-clicked, the program specified in the 225make them clickable. When middle-clicked, the program specified in the
214resource C<urlLauncher> (default C<x-www-browser>) will be started with 226resource C<urlLauncher> (default C<x-www-browser>) will be started with
740Return the foreground/background colour index, respectively. 752Return 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
746Replace the foreground/background colour in the rendition mask with the 760Replace the foreground/background colour in the rendition mask with the
747specified one. 761specified 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
906sub SET_COLOR($$$) {
907 SET_BGCOLOR (SET_FGCOLOR ($_[0], $_[1]), $_[2])
890} 908}
891 909
892# urxvt::term::extension 910# urxvt::term::extension
893 911
894package urxvt::term::extension; 912package urxvt::term::extension;
1384Adds the specified events to the vt event mask. Useful e.g. when you want 1402Adds the specified events to the vt event mask. Useful e.g. when you want
1385to receive pointer events all the times: 1403to 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
1415Deliver 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines