Comments (4)
Hello,
Can you clarify what you mean by "main window" ?
If by "main window", you mean the native window created by the backend (be it SDL, Glfw, or Qt); IMHO imgui in itself (and thus hello_imgui) does not provide any way to remember/restore this as a setting (since this window is created be the backnd long before imgui is inited).
See this answer from the imgui author. This was in 2019, but I suspect this is still valid.
from hello_imgui.
I mean native Windows window. I consider hello_imgui as a windows management system so I believe it shall be responsible for saving/restoring all windows sizes, positions etc. though customers could do such a job themselves indeed.
from hello_imgui.
I understand the need. May be this would be a nice thing to implement, although it needs some more thinking (i.e how to store this in imgui.ini, how to handle the different backends).
I keep this issue opened so that the idea stays prominent.
from hello_imgui.
Hi,
Window position can be saved in the latest version. Autosize is also available.
from hello_imgui.
Related Issues (20)
- Drag/move window without decorations? HOT 3
- Docking feature and persisted window layout HOT 6
- Compilation warnings clean-up HOT 3
- Initial Draw Sequence HOT 8
- Application Window Icon HOT 4
- Emscripten multithread compile options HOT 9
- android: fix build HOT 15
- Should add `encoding='utf8'` to open HOT 3
- Programmatically opening more windows in dock space HOT 22
- 👋👋,CMake can't find the source files: HOT 2
- Cannot load a font during frame rendering HOT 2
- Pre-exit behavior HOT 1
- An api which can help us get assets folder path HOT 2
- IDBFS Support HOT 1
- Imgui Ini Settings Parts HOT 2
- requrest:How to know which dockspace is currently active HOT 2
- not working on linux ubuntu HOT 1
- Some question about hello_imgui_ini_settings HOT 1
- How to set the no_docking and no_tab_bar for the MainDockSpace ? HOT 3
- Bisect MoveWindowToMonitor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hello_imgui.