Not at present, no. Doing this is not impossible, but it would take=20
some work. We would have to construct a Tk window in the preview area,=20=
and then when we got a "draw preview" callback, setup Tk properly to=20
draw there, and then call some Tcl hook to actually draw the content. =20=
You would also have to be careful not to try to handle events or spin=20
the event loop in your callback code, since we have to pass all events=20=
to the Nav Dialog to get it to work, and trying to split them up would=20=
be a pain.
Also on Panther it is not as necessary, since the Open dialog now=20
supports Previews in the browse view, so you can see previews of things=20=
with common types, like pictures, etc.
We would also have to figure out how to do it on Windows & Unix. Since=20=
this changes the behavior of a common dialog, it should be handled=20
through the TIP process, rather than as a bug. If you are really=20
interested in having this happen, you should work up a TIP.
On Feb 18, 2004, at 7:27 AM, J=E9r=F4me Gagnon-Voyer wrote:
> I have a question about tk_getOpenFile
> Is it possible to specify an option to have the preview of pictures in=20=
> the openfile dialog?
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> Tcl-mac mailing list
Jim Ingham jingham@...