File manager with a slab window

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Cauan
Prole
Posts: 22
Joined: Thu Mar 09, 2023 5:58 pm

File manager with a slab window

Post by Cauan »

Hi I'm trying to get to do a file explorer in love2d inside a slab window in a specific folder
Can someone help me?
-OBEY
I'm me, and you are you
Andlac028
Party member
Posts: 174
Joined: Fri Dec 14, 2018 2:27 pm
Location: Slovakia

Re: File manager with a slab window

Post by Andlac028 »

In a specific folder means in some folder somewhere at disk, or some folder inside love game folder or love data folder?
User avatar
Cauan
Prole
Posts: 22
Joined: Thu Mar 09, 2023 5:58 pm

Re: File manager with a slab window

Post by Cauan »

At love data folder in a folder called ACCESS
I'm me, and you are you
Andlac028
Party member
Posts: 174
Joined: Fri Dec 14, 2018 2:27 pm
Location: Slovakia

Re: File manager with a slab window

Post by Andlac028 »

And what do you want to help with - how to list files, or how to build ui?
User avatar
Cauan
Prole
Posts: 22
Joined: Thu Mar 09, 2023 5:58 pm

Re: File manager with a slab window

Post by Cauan »

A UI that when pressed reload the folder or open the file
I'm me, and you are you
Andlac028
Party member
Posts: 174
Joined: Fri Dec 14, 2018 2:27 pm
Location: Slovakia

Re: File manager with a slab window

Post by Andlac028 »

I have no experience with slab (maybe someone can help you more), but basically create some buttons, when clicked reload, reload files list by love.filesystem.getDirectoryItems, and put it into table or list or something like this in slab, and clicking open file just get name of selected file and open it with love.filesystem.open
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 5 guests