| Store | Cart

Re: [TCLCORE] [TIP 541] New TIP 544.

From: Donald Arseneau <a...@triumf.ca>
Sat, 18 May 2019 00:06:01 +0000
It does make sense to export Tcl_GetIntForIndex, as per TIP 544.

Thinking ahead to carrying the index-offset reform to Tk, I realize there
is more to do, if it were to be TIPed. For consistency, the plethora of
named index points for various Tk widgets would probably want the same
treatment as "end".

-Donald Arseneau

...Bottom quoting because outlook servers mess up proper quoting...
On 5/15/19 8:03 AM, Jan Nijtmans wrote:
> Op di 14 mei 2019 om 14:30 schreef François Vogel:>> Now taking advantage of TclGetIntForIndex() in Tk could be done, and then we would propagate this to all Tk areas where it's useful (that is entry, spinbox, listbox, ttk:entry, ttk::spinbox, ttk::combobox). Given that a. no existing Tk widget already has this, b. we can do it later without breaking compatibility and c. it's a quite larger project than what TIP #541 is targeting, I suggest this to be the subject of another TIP. Also I believe this would mean promoting TclGetIntForIndex() to the public interface as Tcl_GetIntForIndex(), and then document it.> New TIP here: <http://core.tcl.tk/tips/doc/trunk/tip/544.md>>> Implementation (Tcl-part):   <http://core.tcl.tk/tcl/timeline?r=tip-544>>> Regards,>        Jan Nijtmans


-- 
Donald Arseneau,    TRIUMF CMMS,    604-222-1047x6295


_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core
Recent Messages in this Thread
Donald Arseneau May 14, 2019 05:52 am
François Vogel May 14, 2019 12:29 pm
Zaumseil René May 14, 2019 02:45 pm
Jan Nijtmans May 15, 2019 03:03 pm
Donald G Porter via Tcl-Core May 15, 2019 03:10 pm
Donald Arseneau May 18, 2019 12:06 am
Messages in this thread