Windows
Creating Multiple Windows
ToDesktop supports the creation of multiple desktop windows. Some of the more popular window combinations are:
- A main application window, with a secondary menubar window for displaying summary information.
- A main application window, with a secondary keyboard-accessible panel window for quickly entering data.
Adding secondary windows is as simple as navigating to the Windows view and clicking the + icon. From there, you can tweak different window settings:
![User interface with a highlighted red box that shows how to add a new window.](https://www.todesktop.com/cdn-cgi/image/f=auto,fit=cover/_app/immutable/assets/new-windows-settings.m2-OR-iJ.png)
New windows can also be created via the API using @todesktop/client-core
. To begin, install @todesktop/client-core
in the relevant project:
Creating a window is a two-step process that involves creating the window and then loading the URL into it's contents.
For a more complex example, visit our tutorial that creates a multi-window todo application.