… | |
… | |
271 | |
271 | |
272 | =item on_button_release $term, $event |
272 | =item on_button_release $term, $event |
273 | |
273 | |
274 | =item on_motion_notify $term, $event |
274 | =item on_motion_notify $term, $event |
275 | |
275 | |
276 | Called whenever the corresponding X event is received for the terminal |
276 | Called whenever the corresponding X event is received for the terminal If |
277 | (see the XEvent manpage) If the hook returns true, then the even will be |
277 | the hook returns true, then the even will be ignored by rxvt-unicode. |
278 | ignored by rxvt-unicode. |
278 | |
|
|
279 | The event is a hash with most values as named by Xlib (see the XEvent |
|
|
280 | manpage), with the additional members C<row> and C<col>, which are the row |
|
|
281 | and column under the mouse cursor. |
279 | |
282 | |
280 | C<on_key_press> additionally receives the string rxvt-unicode would |
283 | C<on_key_press> additionally receives the string rxvt-unicode would |
281 | output, if any, in locale-specific encoding. |
284 | output, if any, in locale-specific encoding. |
282 | |
285 | |
283 | subwindow. |
286 | subwindow. |