snakeware icon indicating copy to clipboard operation
snakeware copied to clipboard

add file manager

Open GsakuL opened this issue 4 years ago • 3 comments

I'd like to try myself at this (unless someone has already started).

For the start, I thought to keep it simple:

  • display stuff
  • navigate folders
    • click on folder
    • back, forward, up buttons
  • address bar

Things/Ideas for later (in no special order):

  • Tabs
  • file operations (copy, paste, move, rename, delete)
  • context menu (for file operations)
  • open other (future) apps, like text editor for appropriate files (maybe add some other independent kind of filetype registration service/component)

GsakuL avatar May 30 '20 07:05 GsakuL

It would be great if you worked on this, note that pygame_gui has a UIFileDialog module which should get you most of the way there: https://pygame-gui.readthedocs.io/en/latest/pygame_gui.windows.html#module-pygame_gui.windows.ui_file_dialog

I'm sure it will end up needing to change as the distro changes, but it would be awesome if we at least got started on an initial version. Thank you!

joshiemoore avatar May 30 '20 13:05 joshiemoore

when using this, I'd be hacking it a bit. because it is more indented as a file picker. I would subclass it, and override methods and alter properties. (to e.g. hide the OK, Cancel Buttons and hook into events)

GsakuL avatar May 30 '20 14:05 GsakuL

All great ideas, a file manager is a great next step

dargonforce avatar May 30 '20 15:05 dargonforce