If I remember correctly, QTk does not define this (and many other Tk things) but you can always use Tk directly. Opening an extra window like a file dialog should be fine together with QTk, but mixing QTk and plain Tk in a single window is not recommended (if memory serves..).

Here is a small example -- check the Tk directly do for your file dialog (NB: blocks, until OK buttom is pressed, and a surrounding thread does not help against this).

 _ = {Tk.return tk_messageBox(icon:error
                              type:ok
                              message:"My error message!")}

Best
Torsten

On Jul 14, 2008, at 1:57 PM, mark richardson wrote:
Hi,

Does anyone know if it's possible to use the QTk load-file dialog to
select a directory rather than an individual file?

Regards
Mark

--
Mark Richardson
Final Year Undergraduate
University of Teesside, UK


______________________________________________________________________ ___________ mozart-users mailing list mozart- [EMAIL PROTECTED]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-586219
Private: +44-1752-558917
http://strasheela.sourceforge.net
http://www.torsten-anders.de





_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to