I want to develop a desktop app that opens a large window with two tabs and asks the user to highlight the second tab by moving it downwards and when he does this the tabs will be next to each other so that the software window is shrunken, next to it is window 1 and on the side of window 1 is window two and there is also a space between the edges x of the computer window.
Does anyone know of any technology that allows this?
Summary
User wants to develop a desktop app that opens a large window with two tabs and asks the user to highlight the second tab by moving it downwards to automatically arrange the windows side by side. They are asking for suggestions on technologies that can enable this feature.
Solution:
- One possible solution is to use Electron, a framework for building desktop apps with web technologies.
- Electron allows you to create native-like desktop apps using HTML, CSS, and JavaScript.
- You can use the Electron BrowserWindow API to create and manipulate windows.
- To achieve the desired behavior, you can listen for the user's tab highlighting action and then use Electron APIs to
ideclon
Dec 23, 2023, 22:00
This doesn’t sound like it has anything to do with Appwrite to me?
Kenny
Dec 23, 2023, 22:08
Yea, really not sure where you should post this :p don’t want this discussion clogging up the general channel. But I’m not sure you’re going to get your answer on this server as it’s mainly focused on helping people with Appwrite.
If you don’t like electron you shouldn’t use not VSCode nor Discord desktop 😀
ideclon
Dec 23, 2023, 22:16
And what would you say if I told you I use both Discord and VSCode in the browser?
futurmaster
Dec 23, 2023, 22:18
In Chrome or in Edge?
ideclon
Dec 23, 2023, 22:19
Firefox
futurmaster
Dec 23, 2023, 22:20
Hehe okay then that’s your (bad) habit 😀
ideclon
Dec 23, 2023, 22:21
(I do also use the desktop applications). But they exist already. And they have good teams behind them working on optimising them as much as possible. I can still advocate for new ones to not be created.
ideclon
Dec 23, 2023, 22:22
I think applications should either be native, or webapps in a browser
futurmaster
Dec 23, 2023, 22:26
That’s an old mindset the newer one is that the future is for the frameworks
futurmaster
Dec 23, 2023, 22:27
If someone is new in the industry and don’t have the necessary knowledge won’t be able to write an app from zero
ideclon
Dec 23, 2023, 22:27
PWAs
ideclon
Dec 23, 2023, 22:29
All browsers should support installing PWAs locally. That gives you essentially all the upsides of Electron (a local application written with web technologies), without the downsides (essentially, running ten browser instances, and taking up the resources of such)
futurmaster
Dec 23, 2023, 22:31
That also needs a lot of extra knowledge ie service workers
futurmaster
Dec 23, 2023, 22:33
Anyway have you ever used Electron to build an app with it?
ideclon
Dec 23, 2023, 22:48
No. I have built PWAs, and service workers are not that complicated.
Bee
Web Developer
Dec 23, 2023, 23:16
i want to do something like this ^^^put the window side by side in 'automatic' way