in reply to Tk and Common Dialogs
I downloaded and examined Win32::FileOp. Indeed, it
would have taken me awhile to get this data structure
packed just right on my own! So I was feeling pretty good
about having asked. But then I started to examine
$code_or_die's answer, thinking that it was further elaboration
on using FileOp. It finally struck me that the
getSaveFile he describes is part of Tk! I didn't
even know it was there. (It's not mentioned in Learning
Perl/Tk. It is referenced in Brent Welch's
Practical Programming in Tcl and Tk, albeit without
an index entry.) What's more, it has the look and feel
that Windows users have come to know (and, for some, love).
But it's not implemented as a separate module, there being no .pm
file -- just a .pod dated 1996 authored at Sun
MicroSystems. And it seems that it must call COMMDLG.DLL,
given the nature of the dialog box that pops up.
So, although I feel somewhat abashed for asking a question
that has so obvious an answer, I'm elated at the outcome. It
would appear that I can have Windows' look and feel, and
portability, too. Thus, two more questions: "Is this little
gem available in Linux builds of Perl/Tk, too? Does it then
provide a Gnomish or KDEish look and feel, depending on the
GUI used?"
Thanks again to all!