开发者

Is there a Tkinter widget equivalent to .NET's ListView control?

In .NET, there is the ListView control, which displays a multicolumn list of items with clickable column headings one can use to sort the list in ascending or descending order by column. I need a scrollable Tkinter widget with exactly that behavior, but there doesn't appear to be anything in the standard Tkinte开发者_如何学Cr module with even similar functionality. This seems like a strange oversight. Is there a module out there with a widget like this? A cross-platform solution would be most desirable, but it's most important that the widget function well on Windows (XP and 7).


If you're using a modern version of tkinter you can use the ttk.Treeview widget.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜