scrollable Frame object

Christian Gollwitzer auriocus at gmx.de
Fri Dec 27 15:59:48 EST 2019


Hi David,

Am 24.12.19 um 13:48 schrieb david.isal2 at gmail.com:

> thank you for your answer. I downloaded and had a look at your library, it is a great solution to use a canvas-free scrollable frame. but it is in pure tcl, how do I use this with python tkinter ?

Yes, because you asked this in the Tcl/Tk newsgroup. We use Tcl directly 
here, not via Python Tkinter.

> Although my initial request is that the frame object is not scrollable by default.
> so My request for the tcl/tk developers would be, why not make the object frame scrollbale by default, in order to attach a scrollbar to it?
> I believe it is a typical need.

This may well be. For that, the developers of Tkinter (distinct from the 
developers of Tk and Tcl) have to include a scrollable frame into 
Tkinter. There is unfortunately a number of extension packages which 
exist for Tk, but which are not wrapped by a standard installatino of 
Tkinter for Python, despite them being extremely useful / not even 
possible otherwise. Among those are:

* Tablelist - a great tree and multi-column widget. Much more versatile 
then the built-in treeview
* TkDnD - native drag'n'drop support, works on all 3 OSes
* tkPath - a canvas replacement with "modern" 2D features 
(anti-aliasing, image scaling/rotation, alpha blending)
* pdf4tcl, generate PDF images from a canvas drawing
* tkTable, spreadsheet-like widget
* tktreectrl, yet another extremely powerful treeview / explorer like widget

Building support for these packages would not be that hard, but it must 
be done by the Python community.

Christian

(X-post & Fup to clp)


More information about the Python-list mailing list