summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-07-01 16:58:39 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-07-01 16:58:39 (GMT)
commitab9d2aae24898ad7f3f14d86cd463714fab638a9 (patch)
tree048d05b87ab5e048011efce42cbfd27e164a23d3 /doc
parentd42e87bee91b212383531bc052bf7699c1c83e09 (diff)
downloadtk-ab9d2aae24898ad7f3f14d86cd463714fab638a9.zip
tk-ab9d2aae24898ad7f3f14d86cd463714fab638a9.tar.gz
tk-ab9d2aae24898ad7f3f14d86cd463714fab638a9.tar.bz2
Improve documentation of the priority levels in the man page for Tk_AddOption().
Diffstat (limited to 'doc')
-rw-r--r--doc/AddOption.312
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/AddOption.3 b/doc/AddOption.3
index 2368f09..c6f0cc1 100644
--- a/doc/AddOption.3
+++ b/doc/AddOption.3
@@ -33,17 +33,17 @@ classes separated by asterisks or dots, in the usual X format.
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 \fBTK_MAX_PRIO\fR. Some
-common priority values are:
-.IP 20
+is returned. \fIPriority\fR must be between 0 and \fBTK_MAX_PRIO\fR (100).
+Some common priority values are:
+.IP \fBTK_WIDGET_DEFAULT_PRIO\fR (20)
Used for default values hard-coded into widgets.
-.IP 40
+.IP \fBTK_STARTUP_FILE_PRIO\fR (40)
Used for options specified in application-specific startup files.
-.IP 60
+.IP \fBTK_USER_DEFAULT_PRIO\fR (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.
-.IP 80
+.IP \fBTK_INTERACTIVE_PRIO\fR (80)
Used for options specified interactively after the application starts
running.
.SH KEYWORDS