rbc has asked for the wisdom of the Perl Monks concerning the following question:

I took a look at perldoc Tk::FileSelect
and it said ...
$FSref = $top->FileSelect(-directory => $start_dir); $top - a window reference, e.g. MainWindow-& +gt;new $start_dir - the starting point for the FileSelect $file = $FSref->Show; Executes the fileselector until either a filename is accepted or the user hits Cancel. Returns the filename or the empty string, respectively, and unmaps the FileSelect. $FSref->configure(option => value[, ...]) Please see the Populate subroutine as the configuration list changes rapidly.

What I want to know is where do I ...

"see the Populate subroutine"?


Thanks!
--
Its like a dog that can sing and dance.
It's remarkable because it can do it.
Not that it can do it well.

Edit kudra, 2001-12-27 change pre to code

Replies are listed 'Best First'.
Re: Tk::FileSelect configure options?
by danger (Priest) on Dec 27, 2001 at 05:23 UTC

    Populate() is one of the underlying routines used when building composite widgets (such as a FileSelect). It will be found by perusing the source of the Tk::FileSelect.pm file. The part you'll be interested in inside of that routine is the call to $w->ConfigSpecs where the options for configure are defined for the composite widget.