… | |
… | |
261 | |
261 | |
262 | Called whenever the user presses a key combination that has a |
262 | Called whenever the user presses a key combination that has a |
263 | C<perl:string> action bound to it (see description of the B<keysym> |
263 | C<perl:string> action bound to it (see description of the B<keysym> |
264 | resource in the @@RXVT_NAME@@(1) manpage). |
264 | resource in the @@RXVT_NAME@@(1) manpage). |
265 | |
265 | |
266 | =item on_key_press $term, $event |
266 | =item on_key_press $term, $event, $octets |
267 | |
267 | |
268 | =item on_key_release $term, $event |
268 | =item on_key_release $term, $event |
269 | |
269 | |
270 | =item on_button_press $term, $event |
270 | =item on_button_press $term, $event |
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. If |
276 | Called whenever the corresponding X event is received for the terminal |
277 | the hook returns true, then the even will be ignored by rxvt-unicode. |
277 | (see the XEvent manpage) If the hook returns true, then the even will be |
|
|
278 | ignored by rxvt-unicode. |
|
|
279 | |
|
|
280 | C<on_key_press> additionally receives the string rxvt-unicode would |
|
|
281 | output, if any, in locale-specific encoding. |
278 | |
282 | |
279 | subwindow. |
283 | subwindow. |
280 | |
284 | |
281 | =back |
285 | =back |
282 | |
286 | |