1Xrm(3)                User Contributed Perl Documentation               Xrm(3)
2
3
4

NAME

6       Tk::Xrm - X Resource/Defaults/Options routines that obey the rules.
7

SYNOPSIS

9          use Tk;
10          use Tk::Xrm;
11

DESCRIPTION

13       Using this modules causes Tk's Option code to be replaced by versions
14       which use routines from <X11/Xresource.h> - i.e. same ones every other
15       X toolkit uses.
16
17       Result is that "matching" of name/Class with the options database
18       follows the same rules as other X toolkits. This makes it more
19       predictable, and makes it easier to have a single ~/.Xdefaults file
20       which gives sensible results for both Tk and (say) Motif applications.
21

BUGS

23       Currently optionAdd(key => value?, priority?) ignores optional priority
24       completely and just does XrmPutStringResource().  Perhaps it should be
25       more subtle and do XrmMergeDatabases() or XrmCombineDatabase().
26
27       This version is a little slower than Tk's re-invention but there is
28       more optimization that can be done.
29

SEE ALSO

31       Tk::option
32

KEYWORDS

34       database, option, priority, retrieve
35
36
37
38perl v5.34.0                      2022-01-21                            Xrm(3)
Impressum