Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Defining folder paths in an easy way?

by jrtayloriv (Pilgrim)
on Feb 16, 2008 at 12:40 UTC ( #668304=note: print w/replies, xml ) Need Help??

in reply to Defining folder paths in an easy way?

Are you just saying you need a file dialog? Tk::FileDialog handles this sort of thing nicely.
  • Comment on Re: Defining folder paths in an easy way?

Replies are listed 'Best First'.
Re^2: Defining folder paths in an easy way?
by tamaguchi (Pilgrim) on Feb 16, 2008 at 12:51 UTC
    Filedialog maybee is the obvious and right way to do this, but do you know if it is possible to implement drag and drop of folders in tk?
      I've never used it myself, but a quick search turned up a module called TK::DragDrop, which would seem to take care of that too. Try searching google for "tk drag drop perl" and you will find many tutorials and such regarding this ...

      UPDATE: Here ya go

      UPDATE: And this node isn't exactly what you're looking for, but it is very similar -- you could easily modify it to do what you want.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://668304]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2020-12-01 06:34 GMT
Find Nodes?
    Voting Booth?

    No recent polls found