Re: [Tkinter-discuss] listdir

2018-02-16 Thread Vasilis Vlachoudis
When I run your program Download$ python codec.py utf-8 Download$ LC_ALL=C python codec.py ansi_x3.4-1968 Download$ LC_ALL=en_US.UTF-8 python codec.py utf-8 it seems that python properly recognizes the LC_ALL setting Cheers Vasilis From: Michael Lange

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

2018-02-16 Thread Michael Lange
On Fri, 16 Feb 2018 22:06:58 +0100 wrote: > 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 t

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 example

Re: [Tkinter-discuss] listdir

2018-02-16 Thread Michael Lange
Hi, On Fri, 16 Feb 2018 09:51:33 + Vasilis Vlachoudis wrote: > When I run your program > > Download$ python codec.py > utf-8 > Download$ LC_ALL=C python codec.py > ansi_x3.4-1968 > Download$ LC_ALL=en_US.UTF-8 python codec.py > utf-8 > > it seems that python properly recognizes the LC_A

Re: [Tkinter-discuss] listdir

2018-02-16 Thread Michael Lange
Hi, On Fri, 16 Feb 2018 08:49:01 + Vasilis Vlachoudis wrote: > Thank you Michael, > > my locale is UTF-8 when I get the error > > $ locale > LANG=en_US.UTF-8 > LANGUAGE=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > ... > LC_ALL=en_US.UTF-8 ok. Don't know if it is possible that there is something

Re: [Tkinter-discuss] listdir

2018-02-16 Thread Vasilis Vlachoudis
Thank you Michael, my locale is UTF-8 when I get the error $ locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" ... LC_ALL=en_US.UTF-8 python v3 works ok though Vasilis From: Tkinter-discuss [tkinter-discuss-bounces+vasilis.vlachoudis=c