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.115 by root, Fri Jan 20 15:57:21 2006 UTC vs.
Revision 1.120 by root, Fri Jan 20 22:05:41 2006 UTC

91 91
92=item selection-popup (enabled by default) 92=item selection-popup (enabled by default)
93 93
94Binds a popup menu to Ctrl-Button3 that lets you convert the selection 94Binds a popup menu to Ctrl-Button3 that lets you convert the selection
95text into various other formats/action (such as uri unescaping, perl 95text into various other formats/action (such as uri unescaping, perl
96evalution, web-browser starting etc.), depending on content. 96evaluation, web-browser starting etc.), depending on content.
97 97
98Other extensions can extend this popup menu by pushing a code reference 98Other extensions can extend this popup menu by pushing a code reference
99onto C<@{ $term->{selection_popup_hook} }>, that is called whenever the 99onto C<@{ $term->{selection_popup_hook} }>, that is called whenever the
100popup is displayed. 100popup is displayed.
101 101
169This transforms the terminal into a tabbar with additional terminals, that 169This transforms the terminal into a tabbar with additional terminals, that
170is, it implements what is commonly refered to as "tabbed terminal". The topmost line 170is, it implements what is commonly refered to as "tabbed terminal". The topmost line
171displays a "[NEW]" button, which, when clicked, will add a new tab, followed by one 171displays a "[NEW]" button, which, when clicked, will add a new tab, followed by one
172button per tab. 172button per tab.
173 173
174Clicking a button will activate that tab. Pressing Shift-Left and 174Clicking a button will activate that tab. Pressing B<Shift-Left> and
175Shift-Right will switch to the tab left or right of the current one. 175B<Shift-Right> will switch to the tab left or right of the current one,
176while B<Shift-Down> creates a new tab.
176 177
177=item mark-urls 178=item mark-urls
178 179
179Uses per-line display filtering (C<on_line_update>) to underline urls and 180Uses per-line display filtering (C<on_line_update>) to underline urls and
180make them clickable. When middle-clicked, the program specified in the 181make them clickable. When middle-clicked, the program specified in the
475Called wheneever the window loses keyboard focus, before rxvt-unicode does 476Called wheneever the window loses keyboard focus, before rxvt-unicode does
476focus out processing. 477focus out processing.
477 478
478=item on_configure_notify $term, $event 479=item on_configure_notify $term, $event
479 480
481=item on_property_notify $term, $event
482
480=item on_key_press $term, $event, $keysym, $octets 483=item on_key_press $term, $event, $keysym, $octets
481 484
482=item on_key_release $term, $event, $keysym 485=item on_key_release $term, $event, $keysym
483 486
484=item on_button_press $term, $event 487=item on_button_press $term, $event
493 496
494Called whenever the corresponding X event is received for the terminal If 497Called whenever the corresponding X event is received for the terminal If
495the hook returns true, then the even will be ignored by rxvt-unicode. 498the hook returns true, then the even will be ignored by rxvt-unicode.
496 499
497The event is a hash with most values as named by Xlib (see the XEvent 500The event is a hash with most values as named by Xlib (see the XEvent
498manpage), with the additional members C<row> and C<col>, which are the row 501manpage), with the additional members C<row> and C<col>, which are the
499and column under the mouse cursor. 502(real, not screen-based) row and column under the mouse cursor.
500 503
501C<on_key_press> additionally receives the string rxvt-unicode would 504C<on_key_press> additionally receives the string rxvt-unicode would
502output, if any, in locale-specific encoding. 505output, if any, in locale-specific encoding.
503 506
504subwindow. 507subwindow.
1565 1568
1566Calls XUngrab for the most recent grab. Is called automatically on 1569Calls XUngrab for the most recent grab. Is called automatically on
1567evaluation errors, as it is better to lose the grab in the error case as 1570evaluation errors, as it is better to lose the grab in the error case as
1568the session. 1571the session.
1569 1572
1573=item $atom = $term->XInternAtom ($atom_name[, $only_if_exists])
1574
1575=item $atom_name = $term->XGetAtomName ($atom)
1576
1577=item @atoms = $term->XListProperties ($window)
1578
1579=item ($type,$format,$octets) = $term->XGetWindowProperty ($window, $property)
1580
1581=item $term->XChangeWindowProperty ($window, $property, $type, $format, $octets)
1582
1583=item $term->XDeleteProperty ($window, $property)
1584
1585=item $window = $term->DefaultRootWindow
1586
1587=item $term->XReparentWindow ($window, $parent, [$x, $y])
1588
1589=item $term->XMapWindow ($window)
1590
1591=item $term->XUnmapWindow ($window)
1592
1593=item $term->XMoveResizeWindow ($window, $x, $y, $width, $height)
1594
1595=item ($x, $y, $child_window) = $term->XTranslateCoordinates ($src, $dst, $x, $y)
1596
1597=item $term->XChangeInput ($window, $add_events[, $del_events])
1598
1599Various X or X-related functions. The C<$term> object only serves as
1600the source of the display, otherwise those functions map more-or-less
1601directory onto the X functions of the same name.
1602
1570=back 1603=back
1571 1604
1572=cut 1605=cut
1573 1606
1574package urxvt::popup; 1607package urxvt::popup;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines