summaryrefslogtreecommitdiffstats
path: root/doc/AddOption.3
blob: d6c7ca5b265e1ec2c3dcd1559500a113150c9870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
'\"
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
'\" All rights reserved.
'\" 
'\" RCS: @(#) $Id: AddOption.3,v 1.1 2000/04/24 19:00:14 ericm Exp $
'\" 
'\"
.so man.macros
.TH Tk_AddOption 3 "" Tk "Tk Library Procedures"
.BS
.SH NAME
Tk_AddOption \- Add an option to the option database
.SH SYNOPSIS
.nf
\fB#include <tk.h>\fR
.sp
void
\fBTk_AddOption\fR(\fItkwin, name, value, priority\fR)
.SH ARGUMENTS
.AP Tk_Window tkwin in
Token for window.
.AP char *name in
Multi-element name of option.
.AP char *value in
Value of option.
.AP int priority in
Overall priority level to use for option.
.BE

.SH DESCRIPTION
.PP
This procedure is invoked to add an option to the database
associated with \fItkwin\fR's main window.  \fIName\fR
contains the option being specified and consists of names and/or
classes separated by asterisks or dots, in the usual X format.
\fIValue\fR contains the text string to associate with \fIname\fR;
this value will be returned in calls to \fBTk_GetOption\fR.
\fIPriority\fR specifies the priority of the value; when options are
queried using \fBTk_GetOption\fR, the value with the highest priority
is returned.  \fIPriority\fR must be between 0 and TK_MAX_PRIO.  Some
common priority values are:
.TP
20
Used for default values hard-coded into widgets.
.TP
40
Used for options specified in application-specific startup files.
.TP
60
Used for options specified in user-specific defaults files, such as
\fB.Xdefaults\fR, resource databases loaded into the X server, or
user-specific startup files.
.TP
80
Used for options specified interactively after the application starts
running.
.PP

.SH KEYWORDS
class, name, option, add
it/commit/?h=inactive/hdf5_rados'>Merge pull request #1585 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_rados to ...Dana Robinson6 years inactive/jpeg_converter[svn-r15458] Purpose: Modify the library to take the proper action when files...Neil Fortner16 years inactive/json_volMerge pull request #1633 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:feature/json_v...Dana Robinson6 years inactive/json_vol_oldcleanup, commentingFrank Willmore7 years inactive/mdc_sl_optMinor copy edits to comments -- no code changes.mainzer4 years inactive/mds[svn-r23487] use the core driver at the server side for the metadata fileMohamad Chaarawi12 years inactive/merge_metadata_journaling[svn-r24779] Description:Quincey Koziol11 years inactive/metadata_journaling[svn-r22480] Description:Quincey Koziol12 years inactive/modify_dtype_filter[svn-r15820] Added a design document describing the design details for the fi...Raymond Lu16 years inactive/multi_rd_wd_coll_io[svn-r29709] another merge from trunk.Mohamad Chaarawi8 years inactive/multi_rd_wd_coll_io_mergeMerge pull request #837 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:multi_rd_wd_coll_...Larry Knox7 years inactive/null_vfd[svn-r22705] Updated the failure behavior of inner driver calls. Expanded the...Jacob Gruber12 years inactive/parallel_vdsSome fixes from Neil plus changes talked about in our last code reviewRichard Warren6 years inactive/parallel_vds_developMerge branch 'develop' into parallel_vds_developM. Scot Breitenfeld5 years inactive/parallel_vds_testingAdd two(2) new parallel VDS tests, the VDS merge code for Neil, and a few edi...Richard Warren7 years inactive/phdf5_metadata_opt[svn-r29080] merge from trunk.Mohamad Chaarawi9 years inactive/post_open_fixAdded a BRANCH.md fileDana Robinson2 years inactive/rados_volMerge pull request #1641 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:feature/rados_...Dana Robinson6 years inactive/selection_ioMerge pull request #1531 from fortnern/selection_ioNeil Fortner3 years inactive/selection_io_with_subfiling_vfdspelling corrections (#1382)Scot Breitenfeld3 years inactive/trunk_merge_coverity[svn-r23698] Description:Quincey Koziol11 years loricooperhdf-patch-1Updated help desk URLLori Cooper10 months metadata_cache_macro_cleanupremove obsolete SZIP find module (#2901)Allen Byrne17 months ossf-scorecardCreate scorecard.ymlDana Robinson13 months pr_484Committing clang-format changesgithub-actions3 years reduce-h5f-duplicationInstead of duplicating H5F_shared_block_write() and _read() wholesale inDavid Young5 years sel_io_chunk_cacheCommitting clang-format changesgithub-actions9 months shell_scriptRemove unneeded/duplicated filesJordan Henderson12 months zzz-gitlab-ciRun test without submitting to CDash.Larry Knox4 years