Re: [Tkinter-discuss] Listbox size

2018-02-14 Thread Bob van der Poel
Thanks Micheal! I am going to save the "number of lines" snippet for future reference. Best, On Wed, Feb 14, 2018 at 3:42 PM, Michael Lange wrote: > Hi, > > On Tue, 13 Feb 2018 17:11:47 -0700 > Bob van der Poel wrote: > > > Getting closer :) > > > > I

Re: [Tkinter-discuss] multicolumn list/tree with images

2018-02-14 Thread c.buhtz
On 2018-02-14 01:14 wrote: > But I need images as values. I don't want to use column '#0' for > images. Images should appear in the second column for example. A workaround would be to keep the '#0' column with the image. But I need to remove the tree space (some pixel on the

[Tkinter-discuss] Get height of a row in Treeview in Tkinter with Python3

2018-02-14 Thread c.buhtz
X-Post: https://stackoverflow.com/q/48736168/4865723 I want to know how height (in pixel) is a row in a tkinter.Treeview. I know how I can manipulate the height (see example below) with the styling mechanism. But I want to read it first - because it depends on the operating system, fonts, etc.

[Tkinter-discuss] multicolumn list/tree with images

2018-02-14 Thread c.buhtz
I experimented with tkinter.ttk.Treeview and tkinter.Listbox on Python3. I need a list widget with multiple columns (this could be Treeview). But I need images as values. I don't want to use column '#0' for images. Images should appear in the second column for example. Tk itself has a treectrl.

Re: [Tkinter-discuss] Listbox size

2018-02-14 Thread Michael Lange
Hi, On Tue, 13 Feb 2018 17:11:47 -0700 Bob van der Poel wrote: > Getting closer :) > > I asked the question wrongly. I need to determine the number of VISIBLE > lines in the listbox. Should be (as used in my previous example) visible_lines =