ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/option-popup
(Generate patch)

Comparing rxvt-unicode/src/perl/option-popup (file contents):
Revision 1.12 by root, Sun Jun 10 17:31:53 2012 UTC vs.
Revision 1.13 by root, Tue Aug 14 23:57:07 2012 UTC

8 8
9Binds a popup menu to Ctrl-Button2 that lets you toggle (some) options at 9Binds a popup menu to Ctrl-Button2 that lets you toggle (some) options at
10runtime. 10runtime.
11 11
12Other extensions can extend this popup menu by pushing a code reference 12Other extensions can extend this popup menu by pushing a code reference
13onto C<@{ $term->{option_popup_hook} }>, which gets called whenever the 13onto C<< @{ $term->{option_popup_hook} } >>, which gets called whenever
14popup is being displayed. 14the popup is being displayed.
15 15
16Its sole argument is the popup menu, which can be modified. It should 16Its sole argument is the popup menu, which can be modified. It should
17either return nothing or a string, the initial boolean value and a code 17either return nothing or a string, the initial boolean value and a code
18reference. The string will be used as button text and the code reference 18reference. The string will be used as button text and the code reference
19will be called when the toggle changes, with the new boolean value as 19will be called when the toggle changes, with the new boolean value as

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines