pyTermTk icon indicating copy to clipboard operation
pyTermTk copied to clipboard

Missing DataTable

Open TheLordOfTheKings opened this issue 4 months ago • 2 comments

Hi @ceccopierangiolieugenio, This amazing project misses some vital widgets like advanced DataTable, Switch, and Switchable contents. It would be awesome to have them, along with ttkDesigner, pyTermTk will be invincible. But most important is an advanced DataTable.

Thanks in advance.

TheLordOfTheKings avatar Feb 13 '24 15:02 TheLordOfTheKings

eh... I always procrastinated the implementation of a proper datatable, It is going to take a lot of time and effort but I think it is time to start working on it.

About the switch; you mean this?

image

it is basically a checkbox, I think I can easily style a checkbox to mimic it.

do you have an example of switchable content?

anyway, Thanks.

ceccopierangiolieugenio avatar Feb 13 '24 16:02 ceccopierangiolieugenio

Hey @ceccopierangiolieugenio, Thanks for answering so fast! After finding the amazing pyTermTk project, I'm really intrigued to start a small TUI application.😄 With a few more small widgets I can develop all of my GUI needs inside the Terminal and that's mind-blowing!

IMO an advanced DataTable with tree functionalities and inline Buttons (or other widgets) in rows and sorting would be awesome:

DataTable

Yes, I mean that kind of Toggle/Switch/CheckBox!

As for Switchable containers and some other container widgets that I really like to have, here are some examples, I think all of them are probably already possible in pyTermTk with some little tweaks that I don't know how!)

HidableContainer: HidableContent

CollapsibleContainer: FoldableContent2-ezgif com-video-to-gif-converter

SwitchableContainer: SwitchableContent-ezgif com-video-to-gif-converter

Header and Footer and more Norton Commander-ish design pattern: header-footer

Thanks.

TheLordOfTheKings avatar Feb 14 '24 09:02 TheLordOfTheKings