Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / site_perl / 5.8.0 / sun4-solaris / Tk / Xrm.pod
CommitLineData
86530b38
AT
1
2=head1 NAME
3
4Tk::Xrm - X Resource/Defaults/Options routines that obey the rules.
5
6=for pm Tk/Xrm.pm
7
8=for category Creating and Configuring Widgets
9
10=head1 SYNOPSIS
11
12 use Tk;
13 use Tk::Xrm;
14
15=head1 DESCRIPTION
16
17Using this modules causes Tk's Option code to be replaced by versions
18which use routines from <X11/Xresource.h> - i.e. same ones every other
19X toolkit uses.
20
21Result is that "matching" of name/Class with the options database follows
22the same rules as other X toolkits. This makes it more predictable,
23and makes it easier to have a single ~/.Xdefaults file which gives sensible
24results for both Tk and (say) Motif applications.
25
26=head1 BUGS
27
28Currently B<optionAdd>(I<key> =E<gt> I<value>?, I<priority>?) ignores optional
29priority completely and just does XrmPutStringResource().
30Perhaps it should be more subtle and do XrmMergeDatabases() or
31XrmCombineDatabase().
32
33This version is a little slower than Tk's re-invention but there is
34more optimization that can be done.
35
36=head1 SEE ALSO
37
38L<Tk::option|Tk::option>
39
40=head1 KEYWORDS
41
42database, option, priority, retrieve
43
44=cut
45