Skip to content
Tcl Source Code Changes To Proposed changes to the Tcl/Tk manual pages
Login

Changes To Proposed changes to the Tcl/Tk manual pages

Changes to "Proposed changes to the Tcl/Tk manual pages" between 2026-09-11 09:14:12 and 2026-10-30 23:05:59

︙
12
13
14
15
16
17
18

19
20
21
22
23
24
25
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26







+







- ... (additional sections possible here for individual pages needing them)
- Examples (subsections for grouping examples, if needed)
- Portability issues (if applicable)
- History (this one could describe which parts of the command were introduced/changed in which version of Tcl)
- See also -> now in metadata, so can be placed dynamically depending on the output format
- Keywords -> now in metadata, so can be placed dynamically depending on the output format

The description section should contain one subsection for each subcommand. The title of such a subsection is the name of the command and the subcommand (e.g. "string match" or "tk busy") and the content of the section would give the exact detailed syntax, sometimes with more than one possibility.

## Example code

Each manual page should have at least one example for the basic usage of a command

The code examples use different ways of showing resulting values (sometimes after the code line in italics, sometimes in a new line with an arrow in front). This should be unified and made visually pleasing.

︙
230
231
232
233
234
235
236


237
238
239
240
241
242
243
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246







+
+








## Tk → ttk::style
1. For the command `ttk::style configure` it should be written that a style not already existing will automatically be created: "If *style* does not yet exist, it will be created".
2. The `args` argument in `ttk::style element element create ...` is undocumented.
3. The manual page for the API `Ttk_RegisterElementFactory` mentioned in `ttk::style element element create ...` does not exist.
4. All information in the linked Tcl'2004 conference presentation should be included here in the manual page if relevant for the understanding and documentation of the functioning of the command.

## Tk → tk
1. The `tk` command has subcommands such as `tk busy` or `tk attribtable` which are not explained in the page. Instead, the page refers to other pages called "busy" and "attribtable" . However, these are not commands (only subcommands) but lang in the list of commands under the heading "Tk commands". This is confusing at least. It is done like this because nroff doesn't allow for deeper outlines than just section (.SH) and subsection (.SS). With markdown, we can change it and should document all `tk` subcommands on that page and remove the separate pages.

## Tk → winfo
1. For the `winfo children` command, add a link to `pack/place slaves` for those who want a list of windows in packing order instead of stacking order (not easy to find if you don't know where to look; for `grid` this is different semantics)

------

## thread
︙