… | |
… | |
346 | in the C<selection-pastebin-url> resource (again, the % is the placeholder |
346 | in the C<selection-pastebin-url> resource (again, the % is the placeholder |
347 | for the filename): |
347 | for the filename): |
348 | |
348 | |
349 | URxvt.selection-pastebin.url: http://www.ta-sa.org/files/txt/% |
349 | URxvt.selection-pastebin.url: http://www.ta-sa.org/files/txt/% |
350 | |
350 | |
|
|
351 | I<Note to xrdb users:> xrdb uses the C preprocessor, which might interpret |
|
|
352 | the double C</> characters as comment start. Use C<\057\057> instead, |
|
|
353 | which works regardless of wether xrdb is used to parse the resource file |
|
|
354 | or not. |
|
|
355 | |
351 | =item example-refresh-hooks |
356 | =item example-refresh-hooks |
352 | |
357 | |
353 | Displays a very simple digital clock in the upper right corner of the |
358 | Displays a very simple digital clock in the upper right corner of the |
354 | window. Illustrates overwriting the refresh callbacks to create your own |
359 | window. Illustrates overwriting the refresh callbacks to create your own |
355 | overlays or changes. |
360 | overlays or changes. |
… | |
… | |
395 | =back |
400 | =back |
396 | |
401 | |
397 | =head2 Extension Objects |
402 | =head2 Extension Objects |
398 | |
403 | |
399 | Every perl extension is a perl class. A separate perl object is created |
404 | Every perl extension is a perl class. A separate perl object is created |
400 | for each terminal and each extension and passed as the first parameter to |
405 | for each terminal, and each terminal has its own set of extenion objects, |
401 | hooks. So extensions can use their C<$self> object without having to think |
406 | which are passed as the first parameter to hooks. So extensions can use |
402 | about other extensions, with the exception of methods and members that |
407 | their C<$self> object without having to think about clashes with other |
|
|
408 | extensions or other terminals, with the exception of methods and members |
403 | begin with an underscore character C<_>: these are reserved for internal |
409 | that begin with an underscore character C<_>: these are reserved for |
404 | use. |
410 | internal use. |
405 | |
411 | |
406 | Although it isn't a C<urxvt::term> object, you can call all methods of the |
412 | Although it isn't a C<urxvt::term> object, you can call all methods of the |
407 | C<urxvt::term> class on this object. |
413 | C<urxvt::term> class on this object. |
408 | |
414 | |
409 | It has the following methods and data members: |
415 | It has the following methods and data members: |