Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Alan Gauld
On 23/08/15 17:20, Laura Creighton wrote: Updating to Python 2.7.10 (default, Jul 1 2015, 10:54:53) and installing the tix-dev debian package, The seg fault is still there on Python 3.4 and 2.7.6 with tix-dev. It also happens regardless of the type of dialog I try (ExFileSelectDialog,

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Alan Gauld
On 23/08/15 17:20, Laura Creighton wrote: Updating to Python 2.7.10 (default, Jul 1 2015, 10:54:53) and installing the tix-dev debian package, ... and I am not sure which of these fixed the problem, Presumably the 2.7.10 because adding tix-dev does nothing to fix it on 2.7.6... But 2.7.10

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Laura Creighton
Maybe a tkinter bug? https://bugs.python.org/issue11077 There was a mismatch between the tkinter tests and the tkinter shipped with python 3.4, which I reported here: https://bugs.python.org/issue24858 -- this is a debian packaging problem and maybe more things are wrong with it.

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Laura Creighton
One other thing -- if you read bugs.python.org about tix issues you will get the strong idea that as far as python-dev is concerned, tix is on its way out, and ttk ttk is the way to go, so if you want your better widget to be part of the new python distribution, making it a ttk widget seems a good

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Alan Gauld
On 24/08/15 18:45, Laura Creighton wrote: # FIXME: It should inherit -superclass tixDialogShell # FIXME: It should inherit -superclass tixDialogShell # FIXME: It should inherit -superclass tixStdDialogShell Nope, these are the same FixMes that I saw. Its (still) a mystery... -- Alan G

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Chris Roy-Smith
On 23/08/15 23:52, Laura Creighton wrote: oooh. Seems that there is an undocumented feature we can use! Laura --- Forwarded Message Return-Path: tkinter-discuss-bounces+lac=openend...@python.org Date: Sun, 23 Aug 2015 12:40:02 +0200 From: Michael Lange klappn...@web.de To:

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Alan Gauld
On 24/08/15 19:23, Laura Creighton wrote: One other thing -- if you read bugs.python.org about tix issues you will get the strong idea that as far as python-dev is concerned, tix is on its way out, and ttk ttk is the way to go, so if you want your better widget to be part of the new python

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-23 Thread Alan Gauld
On 23/08/15 15:00, Laura Creighton wrote: You might also want to try the Tix.ExFileSelectDialog, it is rather dated, but actually has a switch to toggle hidden files on/off and wildcard filtering capabilities. Unfortunately here with debian jessie I can only test it with Tcl, with python for

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-23 Thread Laura Creighton
In a message of Sun, 23 Aug 2015 16:45:11 +0200, Laura Creighton writes: segfaults debian sid, too. Laura Updating to Python 2.7.10 (default, Jul 1 2015, 10:54:53) and installing the tix-dev debian package, instead of just tix ... and I am not sure which of these fixed the problem, because

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-23 Thread Alan Gauld
On 23/08/15 16:11, Laura Creighton wrote: But, aha, it works for Python3.5 I only trued it on 2.7. I'll have a go on 3.4... I wrote this minimal program, to see what needed doing to solve the OP's problem, and, surprise, it solves it right out of the box. from tkinter import * import

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-23 Thread Laura Creighton
More goodies from Michael Lange --- Forwarded Message From: Michael Lange klappn...@web.de To: tkinter-disc...@python.org if you only need to hide hidden files, please see my other post. If you need a more versatile file dialog widget, you might want to consider wrapping an existing tcl

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-23 Thread Laura Creighton
In a message of Sun, 23 Aug 2015 15:39:07 +0100, Alan Gauld writes: On 23/08/15 15:00, Laura Creighton wrote: You might also want to try the Tix.ExFileSelectDialog, it is rather dated, but actually has a switch to toggle hidden files on/off and wildcard filtering capabilities. Unfortunately

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-23 Thread Laura Creighton
But, aha, it works for Python3.5 I wrote this minimal program, to see what needed doing to solve the OP's problem, and, surprise, it solves it right out of the box. # -*- coding: utf-8 -*- from tkinter import * import tkinter.tix as tix root = tix.Tk() def print_selected(args):

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-23 Thread Laura Creighton
oooh. Seems that there is an undocumented feature we can use! Laura --- Forwarded Message Return-Path: tkinter-discuss-bounces+lac=openend...@python.org Date: Sun, 23 Aug 2015 12:40:02 +0200 From: Michael Lange klappn...@web.de To: tkinter-disc...@python.org Message-Id: