How to put a widget inside a "table" #120
OLIVERFRANCISCO
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What you could do to add actions such as deleting, editing or viewing a record
What you could do is create a frame for each record
Create the root
and then create the container where the table will go
The header of the table can be done with CTkLabel, although it is cumbersome, it can work for what you want to do
and after doing a for to go through all the elements
in the for, make a frame called row so that when the other labels are created where the records and actions will go, each of these widgets must have a root of where it has to go
An example so you understand me
example of what it would look like
PD: The data you see is from a SQLite database and serves to show what it would be like
Beta Was this translation helpful? Give feedback.
All reactions