From: Kevin W. <kw...@co...> - 2025-04-12 15:01:42
|
<div><img width="1" height="1" src='https://fedbdhd.r.tsp1-brevo.net/tr/op/o--MPZd16aGgLJd_JmSpAGx-YVg_lqqsKSHxewge_RaO1rmr3s4F1KLxU_CaQD5oiT2RzS_guWcg7Q1-8PABA1T81S4o4hOfnmGiPuN2OziXDUY_xH8sUvwvAcUNEvEcDoXKzMAc2WCZZm0QXqAsF0GA98pK0UW1Zg5v-w2BOBWPH5RZRsZk5e4fmM_P5IyRkr91BvRKpf3W0KdmCsd04gnHEdAR' /></div>Eric,<br/><br/>Would you be willing to put together an implementation and TIP for a scrollable frame?<br/><br/>Thanks <br/>Kevin<br/><br/>> On Apr 12, 2025, at 7:56 AM, KEITH NASH <k.j...@us...> wrote:<br/>> <br/>> Hi Eric,<br/>> <br/>> If something like a scrollable frame is added to Tk, script form has the<br/>> advantage that if it is not exactly what the developer needs, any Tcl/Tk<br/>> developer can copy it and modify it for their purpose.<br/>> <br/>> Suggestions for possible alternatives to expanding the Tk core:<br/>> <br/>> 1. Improve the Wiki coverage of the subject, which is sometimes out of date<br/>> and confusing. Whenever anybody figures something out, they could make sure<br/>> the knowledge is recorded on the Wiki.<br/>> <br/>> 2. Add an "Extensions" section to some Tcl/Tk man pages, describing the<br/>> relevant extensions that are available in Tcllib, Tklib and related packages<br/>> that are hosted on core.tcl-lang.org and have oversight by the Core Team.<br/>> <br/>> This is not intended to shoehorn the entire documentation for Tcllib, Tklib<br/>> into the docs for Tcl/Tk, but only a brief reference to a few packages that<br/>> are natural extensions of the Tcl/Tk facilities. This suggestion might<br/>> require a TIP to expand the scope of the documentation.<br/>> <br/>> Keith.<br/>> <br/>> ------ Original Message ------<br/>> Received: Sat, 12 Apr 2025 05:50:10 AM BST<br/>> From: EricT <tw...@gm...><br/>> To: Tcl...@li...<br/>> Subject: [TCLCORE] Any plans on a tk scrollable frame and toplevel in the<br/>> core?<br/>> <br/>>> With 9.0 out the door, I was thinking that this might be a good time<br/>>> to consider some of the "missing" pieces in the tk and ttk widget set.<br/>>> <br/>>> I think the most useful missing piece would be a built in scrollable<br/>>> frame and/or toplevel. If there's a TIP that has already requested<br/>>> this, then feel free to ignore this email. And if perchance, it's<br/>>> already there, then perhaps it just would need to be more prominent in<br/>>> the documentation. At least, I couldn't find one.<br/>>> <br/>>> When I needed a scrollable frame, I found there are many versions on<br/>>> the wiki, but sometimes having too many choices makes the task harder.<br/>>> There once were also several notebook widgets, and the one I chose, in<br/>>> bwidgets, ended up not being the best choice. Had I known about<br/>>> ttk::notebook, I would certainly have looked at that first.<br/>>> <br/>>> Anyway, I think the one at<br/>>> https://wiki.tcl-lang.org/page/A+scrolled+frame by Paul Walton is a<br/>>> quite good one, although I didn't quite understand why I needed two<br/>>> frames in the example.<br/>>> <br/>>> There's also apparently a modified version just below it as well. And<br/>>> that's the one I tried because it also had 2 smallish examples.<br/>>> <br/>>> Paul's version is nice in that you can pack the scrollable frame, but<br/>>> the scrollable items can be packed, grid'd or placed. I suspect you<br/>>> could grid the frame as well, but I wanted to pack it.<br/>>> <br/>>> Bottom line, I believe having this widget in the Tk core would be<br/>>> quite useful, and it might even just be added there in script form.<br/>>> But having one supported version that was in the "manual" would be<br/>>> great and would also provide leverage for all the other languages that<br/>>> use the Tk toolkit.<br/>>> <br/>>> thanks<br/>>> <br/>>> Eric<br/>>> <br/>> <br/>>> <br/>> <br/>>> _______________________________________________<br/>>> Tcl-Core mailing list<br/>>> Tcl...@li...<br/>>> https://lists.sourceforge.net/lists/listinfo/tcl-core<br/>>> <br/>> <br/>> <br/>> <br/>> <br/>> _______________________________________________<br/>> Tcl-Core mailing list<br/>> Tcl...@li...<br/>> https://lists.sourceforge.net/lists/listinfo/tcl-core<br/> |