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!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.