diff options
author | fvogel <fvogelnew1@free.fr> | 2023-07-01 18:11:10 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2023-07-01 18:11:10 (GMT) |
commit | 707dc02898ca20ff168201400cee29a8ce243e0b (patch) | |
tree | 495886c691f894529b8d49697b9432ed999d1ce6 /doc | |
parent | f518a034ff4b60cc934e22415226eba3a3b93a52 (diff) | |
parent | cfbd1e8cabdea854bcd33c0a722e615a25724f7f (diff) | |
download | tk-707dc02898ca20ff168201400cee29a8ce243e0b.zip tk-707dc02898ca20ff168201400cee29a8ce243e0b.tar.gz tk-707dc02898ca20ff168201400cee29a8ce243e0b.tar.bz2 |
merge trunk
Diffstat (limited to 'doc')
-rw-r--r-- | doc/3DBorder.3 | 2 | ||||
-rw-r--r-- | doc/AddOption.3 | 18 |
2 files changed, 11 insertions, 9 deletions
diff --git a/doc/3DBorder.3 b/doc/3DBorder.3 index 0bc41d0..a6deb30 100644 --- a/doc/3DBorder.3 +++ b/doc/3DBorder.3 @@ -9,7 +9,7 @@ .so man.macros .BS .SH NAME -Tk_Alloc3DBorderFromObj, Tk_ClipDrawableToRect, Tk_DrawHighlightBorder, Tk_Get3DBorder, fBTk_Get3DBorderColors, Tk_Get3DBorderFromObj, Tk_Draw3DRectangle, Tk_Fill3DRectangle, Tk_Draw3DPolygon, Tk_Fill3DPolygon, Tk_3DVerticalBevel, Tk_3DHorizontalBevel, Tk_SetBackgroundFromBorder, Tk_NameOf3DBorder, Tk_3DBorderColor, Tk_3DBorderGC, Tk_Free3DBorderFromObj, Tk_Free3DBorder \- draw borders with three-dimensional appearance +Tk_Alloc3DBorderFromObj, Tk_ClipDrawableToRect, Tk_DrawHighlightBorder, Tk_Get3DBorder, Tk_Get3DBorderColors, Tk_Get3DBorderFromObj, Tk_Draw3DRectangle, Tk_Fill3DRectangle, Tk_Draw3DPolygon, Tk_Fill3DPolygon, Tk_3DVerticalBevel, Tk_3DHorizontalBevel, Tk_SetBackgroundFromBorder, Tk_NameOf3DBorder, Tk_3DBorderColor, Tk_3DBorderGC, Tk_Free3DBorderFromObj, Tk_Free3DBorder \- draw borders with three-dimensional appearance .SH SYNOPSIS .nf \fB#include <tk.h>\fR diff --git a/doc/AddOption.3 b/doc/AddOption.3 index a331455..fc46492 100644 --- a/doc/AddOption.3 +++ b/doc/AddOption.3 @@ -14,7 +14,7 @@ Tk_AddOption \- Add an option to the option database void \fBTk_AddOption\fR(\fItkwin, name, value, priority\fR) .sp -void +Tcl_Obj * \fBTk_GetSystemDefault\fR(\fItkwin, dbName, className\fR) .SH ARGUMENTS .AP Tk_Window tkwin in @@ -40,20 +40,22 @@ 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. -\fBTk_GetSystemDefault\fR return a Tk_Uid string representation of the given \fIdbname\fR and \fIclassName\fR of a configuration option. +.PP +\fBTk_GetSystemDefault\fR returns a Tcl_Obj* with the string identifying +a configuration option matching the given \fIdbname\fR and \fIclassName\fR. Returns NULL if there are no system defaults that match this pair. .SH KEYWORDS class, name, option, add |