… | |
… | |
290 | resource in the urxvt(1) manpage). |
290 | resource in the urxvt(1) manpage). |
291 | |
291 | |
292 | The event is simply the action string. This interface is going away in |
292 | The event is simply the action string. This interface is going away in |
293 | preference to the C<< ->register_keysym_action >> method. |
293 | preference to the C<< ->register_keysym_action >> method. |
294 | |
294 | |
295 | =item on_register_command $term, $keysym, $modifiermask, $string |
|
|
296 | |
|
|
297 | Called after parsing a keysym resource but before registering the |
|
|
298 | associated binding. If this hook returns a true value the binding |
|
|
299 | is not registered. It can be used to modify a binding by calling |
|
|
300 | C<register_command>. |
|
|
301 | |
|
|
302 | =item on_resize_all_windows $term, $new_width, $new_height |
295 | =item on_resize_all_windows $term, $new_width, $new_height |
303 | |
296 | |
304 | Called just after the new window size has been calculated, but before |
297 | Called just after the new window size has been calculated, but before |
305 | windows are actually being resized or hints are being set. If this hook |
298 | windows are actually being resized or hints are being set. If this hook |
306 | returns a true value, setting of the window hints is being skipped. |
299 | returns a true value, setting of the window hints is being skipped. |
… | |
… | |
350 | manpage), with the additional members C<row> and C<col>, which are the |
343 | manpage), with the additional members C<row> and C<col>, which are the |
351 | (real, not screen-based) row and column under the mouse cursor. |
344 | (real, not screen-based) row and column under the mouse cursor. |
352 | |
345 | |
353 | C<on_key_press> additionally receives the string rxvt-unicode would |
346 | C<on_key_press> additionally receives the string rxvt-unicode would |
354 | output, if any, in locale-specific encoding. |
347 | output, if any, in locale-specific encoding. |
355 | |
|
|
356 | subwindow. |
|
|
357 | |
348 | |
358 | =item on_client_message $term, $event |
349 | =item on_client_message $term, $event |
359 | |
350 | |
360 | =item on_wm_protocols $term, $event |
351 | =item on_wm_protocols $term, $event |
361 | |
352 | |
… | |
… | |
1266 | =item $success = $term->parse_keysym ($key, $octets) |
1257 | =item $success = $term->parse_keysym ($key, $octets) |
1267 | |
1258 | |
1268 | Adds a key binding exactly as specified via a resource. See the |
1259 | Adds a key binding exactly as specified via a resource. See the |
1269 | C<keysym> resource in the urxvt(1) manpage. |
1260 | C<keysym> resource in the urxvt(1) manpage. |
1270 | |
1261 | |
1271 | =item $term->register_command ($keysym, $modifiermask, $string) |
|
|
1272 | |
|
|
1273 | Adds a key binding. This is a lower level api compared to |
|
|
1274 | C<parse_keysym>, as it expects a parsed key description, and can be |
|
|
1275 | used only inside either the C<on_init> hook, to add a binding, or the |
|
|
1276 | C<on_register_command> hook, to modify a parsed binding. |
|
|
1277 | |
|
|
1278 | =item $rend = $term->rstyle ([$new_rstyle]) |
1262 | =item $rend = $term->rstyle ([$new_rstyle]) |
1279 | |
1263 | |
1280 | Return and optionally change the current rendition. Text that is output by |
1264 | Return and optionally change the current rendition. Text that is output by |
1281 | the terminal application will use this style. |
1265 | the terminal application will use this style. |
1282 | |
1266 | |