• docu ttk::spinbox

    From Manfred Stelzhammer@manfred@antispam.at to comp.lang.tcl on Thu Apr 4 22:15:38 2024
    From Newsgroup: comp.lang.tcl

    Hi

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

    Please can someone correct this.

    Regards

    Manfred
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Rich@rich@example.invalid to comp.lang.tcl on Thu Apr 4 21:56:59 2024
    From Newsgroup: comp.lang.tcl

    Manfred Stelzhammer <manfred@antispam.at> 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.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Manfred Stelzhammer@manfred@antispam.at to comp.lang.tcl on Fri Apr 5 17:14:19 2024
    From Newsgroup: comp.lang.tcl

    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 <manfred@antispam.at> 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.
    --- Synchronet 3.20a-Linux NewsLink 1.114