GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
urxvt-option-popup(1) RXVT-UNICODE urxvt-option-popup(1)

option-popup - option menu

Binds a popup menu to Ctrl-Button2 that lets you toggle (some) options at runtime.

Other extensions can extend this popup menu by pushing a code reference onto "@{ $term->{option_popup_hook} }", which gets called whenever the popup is being displayed.

Its sole argument is the popup menu, which can be modified. It should either return nothing or a string, the initial boolean value and a code reference. The string will be used as button text and the code reference will be called when the toggle changes, with the new boolean value as first argument.

The following will add an entry "myoption" that changes "$self->{myoption}":

   push @{ $self->{term}{option_popup_hook} }, sub {
      ("my option" => $myoption, sub { $self->{myoption} = $_[0] })
   };
2022-04-12 9.30

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.