I am trying to create a Treeview with a lot of columns. Here is my class that create the window with the treeview : I have this error when I run it : TypeError: can only concatenate str (not “tuple”) to str I know that there is a problem with my type, and the error say that this error happen
Tag: treeview
Any way to censor Treeview Data Display?
I am able to use SQLite3 as the database (DB) and get Treeview to display data from the DB. However, I was wondering whether Treeview has any functionality to censor the first few characters in a certain column for all entries? Here is the lean code: I can get variables from the Entry Widget (with Tkinter) to be successfully stored
GTK – Python Treeview Sort Column Data (File Size – Byte Data)
I have a GTK GUI with Python code. There is a treeview on the GUI. I need to list file sizes on the treeview and sort them by file size by clicking on the column. But it sorts files by using their sizes as string. What is the common way for sorting this files? Using string file size values (with
Treeview heading off by one column?
I cannot for the life of me find any post or documentation that explains why the Treeview heading is off by one column from the rest of the data. Even the documentation I found shows this issue in an example but does not describe the issue. As you can see the headings are off by one column. I cannot figure
How to get different values from different tables in Treeview / Tkinter (SQLite)?
I’ve been working with Tkinter and I’m trying to get different columns from different tables in my Treeview, I’m using SQLite as database, in my first table called registers i got different columns idcard, name, surname, cellphone, address, email, etc in my second table named attendance I use to store my entries attendances by ID number I mean I got
_tkinter.TclError: Item 1 already exists with tkinter treeview
I creating GUI interacting with treeview and I want to get all the value inside the list and show it in treeview window. I have a add button and once I click it, it will work fine. But on the second time, it shows an error Item 1 already exists. It also does not added to the list. This is
How to disable manual resizing of Tkinter’s Treeview column?
Since I can’t horizontally scroll Treeview column due to what appears to be Tk/Tkinter limitation, I want to make it sticky so it is attached to the frame. The issue is that user can manually resize Treeview column which can mess up my interface in a certain way. Is it possible to disable such functionality? Note the size of the
How to get the value of a selected treeview item?
I’ve looked at several posts regarding this and they’ve done the following -The output i get is blank -The output i get is the id, which is practically useless unless somebody can show me how to manipulate it -No output at all i just want to be able to click an item in treeview, and instantly be given the text