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.228 by sf-exg, Tue Oct 29 14:12:58 2013 UTC vs.
Revision 1.229 by root, Sat Apr 26 18:53:51 2014 UTC

281 281
282=item on_refresh_end $term 282=item on_refresh_end $term
283 283
284Called just after the screen gets redrawn. See C<on_refresh_begin>. 284Called just after the screen gets redrawn. See C<on_refresh_begin>.
285 285
286=item on_user_command $term, $string 286=item on_user_command $term, $string *DEPRECATED*
287 287
288Called whenever a user-configured event is being activated (e.g. via 288Called whenever a user-configured event is being activated (e.g. via
289a C<perl:string> action bound to a key, see description of the B<keysym> 289a C<perl:string> action bound to a key, see description of the B<keysym>
290resource in the urxvt(1) manpage). 290resource in the urxvt(1) manpage).
291 291
292The event is simply the action string. This interface is assumed to change 292The event is simply the action string. This interface is going away in
293slightly in the future. 293preference to the C<< ->register_keysym_action >> method.
294 294
295=item on_register_command $term, $keysym, $modifiermask, $string 295=item on_register_command $term, $keysym, $modifiermask, $string
296 296
297Called after parsing a keysym resource but before registering the 297Called after parsing a keysym resource but before registering the
298associated binding. If this hook returns TRUE the binding is not 298associated binding. If this hook returns a true value the binding
299registered. It can be used to modify a binding by calling 299is not registered. It can be used to modify a binding by calling
300C<register_command>. 300C<register_command>.
301 301
302=item on_resize_all_windows $term, $new_width, $new_height 302=item on_resize_all_windows $term, $new_width, $new_height
303 303
304Called just after the new window size has been calculated, but before 304Called just after the new window size has been calculated, but before
305windows are actually being resized or hints are being set. If this hook 305windows are actually being resized or hints are being set. If this hook
306returns TRUE, setting of the window hints is being skipped. 306returns a true value, setting of the window hints is being skipped.
307 307
308=item on_x_event $term, $event 308=item on_x_event $term, $event
309 309
310Called on every X event received on the vt window (and possibly other 310Called on every X event received on the vt window (and possibly other
311windows). Should only be used as a last resort. Most event structure 311windows). Should only be used as a last resort. Most event structure
827} 827}
828 828
829=item $self->enable ($hook_name => $cb[, $hook_name => $cb..]) 829=item $self->enable ($hook_name => $cb[, $hook_name => $cb..])
830 830
831Dynamically enable the given hooks (named without the C<on_> prefix) for 831Dynamically enable the given hooks (named without the C<on_> prefix) for
832this extension, replacing any previous hook. This is useful when you want 832this extension, replacing any hook previously installed via C<enable> in
833to overwrite time-critical hooks only temporarily. 833this extension.
834
835This is useful when you want to overwrite time-critical hooks only
836temporarily.
834 837
835To install additional callbacks for the same hook, you can use the C<on> 838To install additional callbacks for the same hook, you can use the C<on>
836method of the C<urxvt::term> class. 839method of the C<urxvt::term> class.
837 840
838=item $self->disable ($hook_name[, $hook_name..]) 841=item $self->disable ($hook_name[, $hook_name..])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines