[Tkinter-discuss] real and platform independent maximizing a window

2018-03-30 Thread c.buhtz
When looking around about the question how to "maximize a window" with Tkinter there are two approaches. 1. Using wm_state('-zoomed', True). Problem: Not working on all platforms. e. g. "-zoomed" is not allowed on Debian unstable with XFCE on Python3.6 Tkinter 8.6 2. Compute the screen

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

2018-02-18 Thread c.buhtz
On 2018-02-16 23:49 Michael Lange wrote: > > > Finally there seems to be a tix.TList widget which might be able > > > to do what you want, though I never used it myself, see > > > https://docs.python.org/3/library/tkinter.tix.html > > The docu is currently offline. > >

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

2018-02-16 Thread c.buhtz
Dear Michael, thank you very much for your valuable reply. > there does not seem to be a way to > make only the "checkbutton" icon sensitive to mouse clicks The event object have the exact coordinates of the click position. Based on them you can identify the row and column. Quick & Dirty

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] TKinter and Python asyncio

2017-12-20 Thread c.buhtz
X-Post: Dear Bhaskar, thank you very much for your answer and the links. On 2017-12-20 13:06 Bhaskar Chaudhary wrote: > Here's a very simple example I borrowed from >

Re: [Tkinter-discuss] TKinter and Python asyncio

2017-12-19 Thread c.buhtz
On 2017-12-20 00:23 Michael Lange wrote: > to me like it might be much easier to just download the files from > within a separate thread. I don't know what exactly you want to > achieve of course, but from your first post my impression was that > using threads should not be

Re: [Tkinter-discuss] TKinter and Python asyncio

2017-12-19 Thread c.buhtz
On 2017-12-19 04:18 Bhaskar Chaudhary wrote: > Check out this code: > https://github.com/fluentpython/asyncio-tkinter > > Download the entire code from above and run tkapp2.py The example doesn't run on Python3.6. It is quite old and maybe use some deprecated concepts? The

Re: [Tkinter-discuss] TKinter and Python asyncio

2017-12-18 Thread c.buhtz
Dear Bhaskar, thank you for your answer. On 2017-12-18 20:37 Bhaskar Chaudhary wrote: > No its not at all a bad idea to combine tkinter with asyncio. Asyncio > is a good thing to use whenever you have an I/O bound task which is > likely to take too much time and interfere

[Tkinter-discuss] Tkinter: using OS-default symbols and icons

2017-12-18 Thread c.buhtz
When using Tkinter in Python3 and creating Toolbars (using Frame and Button) I need icons for the buttons. Is there a plattform independed way to use the OS-default symbols? e.g. the symbol set that is configured in the desktop environment (xfce, kde, gnome, ...) or the symbols on the different

[Tkinter-discuss] TKinter and Python asyncio

2017-12-18 Thread c.buhtz
Hello, is it a bad idea to combine tkinter and asyncio package in Python3.5? Or is it even possible? I am also not sure if asynchronus programming is the solution of my problem: I try to create a Newsfeed-Reader (RSS & Atom). So I when the application refresh all feeds it will cause downloading