Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Defining folder paths in an easy way?

by jrtayloriv (Pilgrim)
on Feb 16, 2008 at 12:40 UTC ( [id://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.

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-29 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found