Le 06/11/2018 à 00:10,
jm....@orens.fr a écrit :
> Le lundi 5 novembre 2018 20:59:44 UTC+1, Francois Vogel a écrit :
>> Le 05/11/2018 à 19:30,
jm....@orens.fr a écrit :
>>>
>>> In ttk 8.6.9 doc, *STANDARD* OPTIONS of :
>>> - ttk::button
>>> - ttk::checkbutton
>>> - ttk::menubutton
>>> - ttk::radiobutton
>>> - ttk::separator
>>> - ttk::sizegrip
>>>
>>> should'nt mention "-state" option
OK, this is something precise that I understand.
So you are suggesting that in these man pages the *link to the -state
option* (because it actually is a link) be removed? How can then the
user know that this widget provides this option if it disappears from
the man page describing the widget?
> I was not refeering to ttk::widget man page wich is fine to me, but the 6 afored-mentioned man pages wich are not.
>
> In these 6 man pages mixing STANDARD paragraph and COMPATIBILITY paragraph of another man page (ttk::widget) for -state option is confusing.
In fact what you're saying here does no apply to ttk::button or
ttk::checkbutton or ttk::menubutton. In those man pages, the -state
widget option is *only* described through a link to the description in
ttk::widget. These man pages do *not* mix STANDARD paragraph and
COMPATIBILTIY paragraph. Not in the 8.6.9-rc3 version, at least.
ttk::checkbutton and ttk::radiobutton describe possible *states* of this
widget, but not the -state *option* (except through the link to
ttk::widget).
ttk::separator and ttk::sizegrip do not tell about -state at all
(because there is no such option for a separator or sizegrip).
In all my answers I'm talking about the man pages as in the bleeding
edge of core-8-6-branch, which are the same as what is included Tcl/Tk
in 8.6.9-rc3. Remember the links to the tickets I have posted earlier in
this thread. These tickets induced changes in the man pages compared to
what is in 8.6.8.
Definitely I'm lost with what you're saying. Perhaps the best would be
you propose a patch, but note such a patch *must* be based on the latest
man pages. I definitely think you are still looking at some older
version, probably 8.6.8.
Thanks,
Francois