• docu ttk::spinbox

    From Manfred Stelzhammer@21:1/5 to All on Thu Apr 4 22:15:38 2024
    Hi

    On the documentation from "ttk::spinbox"
    I am miss the option "-textvariable".

    Please can someone correct this.

    Regards

    Manfred

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich@21:1/5 to Manfred Stelzhammer on Thu Apr 4 21:56:59 2024
    Manfred Stelzhammer <[email protected]> wrote:
    Hi

    On the documentation from "ttk::spinbox"
    I am miss the option "-textvariable".

    How so?

    On my 8.6.12 install, the ttk::spinbox manpage says, in the second
    sentence of the first paragraph:

    The widget implements all the features of the ttk::entry widget
    *including support of the -textvariable option* to link the
    value displayed by the widget to a Tcl variable.

    And then under "standard options" is says:

    See the ttk_widget manual entry for details on the standard
    options.

    Proceeding to the ttk::entry manpage, it says, in the second sentence
    of the first paragraph:

    The value of the string may be linked to a Tcl variable with the
    -textvariable option.

    And under "widget specific options" it states:

    Command-Line Name:-textvariable
    Database Name: textVariable
    Database Class: Variable

    Specifies the name of a global variable whose value is
    linked to the entry widget's contents. Whenever the
    variable changes value, the widget's contents are
    updated, and vice versa.


    It is not clear how you missed this.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Manfred Stelzhammer@21:1/5 to All on Fri Apr 5 17:14:19 2024
    Ok
    My mistake.
    I read over this.

    On the documentation from the normal spinbox the parameter
    "-textvariable" is listed.

    Regards

    Manfred

    Am 04.04.24 um 23:56 schrieb Rich:
    Manfred Stelzhammer <[email protected]> wrote:
    Hi

    On the documentation from "ttk::spinbox"
    I am miss the option "-textvariable".

    How so?

    On my 8.6.12 install, the ttk::spinbox manpage says, in the second
    sentence of the first paragraph:

    The widget implements all the features of the ttk::entry widget
    *including support of the -textvariable option* to link the
    value displayed by the widget to a Tcl variable.

    And then under "standard options" is says:

    See the ttk_widget manual entry for details on the standard
    options.

    Proceeding to the ttk::entry manpage, it says, in the second sentence
    of the first paragraph:

    The value of the string may be linked to a Tcl variable with the
    -textvariable option.

    And under "widget specific options" it states:

    Command-Line Name:-textvariable
    Database Name: textVariable
    Database Class: Variable

    Specifies the name of a global variable whose value is
    linked to the entry widget's contents. Whenever the
    variable changes value, the widget's contents are
    updated, and vice versa.


    It is not clear how you missed this.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)