Tk Source Code

View Ticket
Login
Ticket UUID: 7e984faa36f97119745737fd556902cc65503039
Title: Csaba's wide spinbox for the core
Type: RFE Version: main
Submitter: oehhar Created on: 2025-11-20 10:59:24
Subsystem: 88. Themed Tk Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2025-12-15 20:42:15
Resolution: Accepted Closed By: nemethi
    Closed on: 2025-12-15 20:42:15
Description:

Wizard Csaba is apparently working on a core version of the wide spinbox widget. Great, I appreciate!

https://core.tcl-lang.org/tk/timeline?r=wide_spinbox&c=2025-11-19+18%3A53%3A51

A photo with the wide and normal spinbox on Windows is attached. The following script was executed while package scrollutil is in auto_path:

package require wsb
pack [ttk::spinbox .s1 -style Wide.TSpinbox]
pack [ttk::spinbox .s2]

Take care, Harald

User Comments: nemethi (claiming to be Csaba Nemethi) added on 2025-12-15 20:42:15:

The Wide.TSpinbox style is now in the core. See commit [82324efc].


nemethi (claiming to be Csaba Nemethi) added on 2025-11-28 13:43:59:

Added TIP 739: Add a Wide.TSpinbox style to the core. See

https://core.tcl-lang.org/tips/doc/trunk/tip/739.md


nemethi (claiming to be Csaba Nemethi) added on 2025-11-25 11:47:15:

OK, the creation of a TIP is now in progress.


oehhar added on 2025-11-25 08:53:59:
I propose to discuss it next Monday in the bi-weekly telco.
I will be there and will organize the meeting as usual.
Harald

oehhar added on 2025-11-25 08:26:00:

Thanks, Csaba, for the work, this is great !

IMHO, this is an API extension and thus requires a TIP.

I am totally in favor. The TIP process may find additional comments on different platforms.

Others may comment on this.

Thanks for all, Harald


nemethi (claiming to be Csaba Nemethi) added on 2025-11-24 12:09:48:

With Tk built from the wide_spinbox branch, the Wide.TSpinbox style can be used like any other built-in style, by just specifying  -style Wide.TSpinbox.

Immediately after merging this branch into main, I will have to release a new version of the wsb package, in which  package require wsb  will be a no-op if the Tk version is 9.1a1 or later, thus avoiding any conflcts due to already existing elements.  This is important for applications and packages like Tablelist and Scrollutil that should work with older Tk versions, too.

Since adding the Wide.Spinbox style to the core is proposed in this RFE, I think that there is no need for a TIP (?).  Should this assumption be correct, then I could do the merge any time.

I would highly appreciate if someone could test this branch and report back the result.


nemethi (claiming to be Csaba Nemethi) added on 2025-11-22 16:24:35:

The implementation of the Wide.TSpinbox layout in the wide_spinbox branch is ready.  I can merge it every time, but I am not sure whether a TIP is needed for it.


Attachments: