Filetypes in get-open-file
martin.buchmann at googlemail.com
Tue Dec 13 19:54:06 UTC 2016
I am trying a create a little gui using ltk which has an open file button using get-open-file. It works fine besides the fact that I cannot select any file. I played around with the filetypes keyword but could not get it running and could not find anything in the net so far which helped me. I actually do not care about the filetype at all.
I have installed ltk via quicklisp on OS X using sbcl.
(defun test ()
(let* ((datei (make-instance 'ltk:button
:command (lambda ()
(print (ltk:get-open-file :filetypes '(("All Files" "*"))
(ltk:wm-title ltk:*tk* "Test")
I get a nice button, the open file dialog opens but all file in the current directory are gray and not selectable. What am I missing?
If I choose
it works but that’s very different from what I have expected.
Thanks for any advice
More information about the ltk-user