-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When will the docking branch be released / Can i still use it / What is it missing #348
Comments
Thanks for reaching out, you are in the right place, do not worry ;) Yes, you are right, the "stuck" functionality you are describing (as I understand it) corresponds to the docking feature which is only part of the In this branch, you may refer to example doc/examples/integrations_glfw3_docking.py for the usage of this docking functionality.
I can't say, these days I do not have a lot of free time to work on pyimgui and I must rely on the rare contributions of community. The
No, I don't think that it is as "unsafe" to use as I have written in readme. The truth is that I didn't spend the necessary time to ensure every functionality has been properly mapped and to list all remaining features to implement. If this moves forward some days, it may change a bit and you may have to refactor some of your code if you use it (or ensure that you keep the same version for your project). I don't think that it is dangerous to use as mapping functionalities is pretty simple, it is just about implementing python functions that calls c++ functions. All the hard work has already been leveraged by DearImGui community. The minimal functionalities of the
I don't know, I would have to go through it which I have not been able to do yet. But, as far as I know, you should have everything you need for the "very simple functionality of fixing the windows to a dock" part.
You would have to clone the repository and checkout the docking branch.
For building the lib, you should find everything you need in the https://github.com/pyimgui/pyimgui/blob/docking/HACKING.md file. Don't hesitate to ask if you encounter any difficulty. |
Thank you so much for the reply, I'll try what you suggested :) |
So, I already had problems, RIP Please make sure you have the correct access rights |
Try cloning over https instead of over git. As for 'fixing' a window to one place, you can simulate that behavior by setting hardcoded size and location ( |
Thanks. I'll try both methods |
Everything went fine. this error is not related to the installation
i THINK i set up docking correctly. Here is what i have done, taken from a java tutorial: def docking(self):
windowFlags = imgui.WINDOW_MENU_BAR | imgui.WINDOW_NO_DOCKING
imgui.set_next_window_position(0, 0)
imgui.set_next_window_size(Singletons.app.window._width, Singletons.app.window._height)
imgui.push_style_var(imgui.STYLE_WINDOW_ROUNDING, 0)
imgui.push_style_var(imgui.STYLE_WINDOW_BORDERSIZE, 0)
windowFlags = windowFlags | imgui.WINDOW_NO_TITLE_BAR | imgui.WINDOW_NO_COLLAPSE | \
imgui.WINDOW_NO_RESIZE | imgui.WINDOW_NO_MOVE | \
imgui.WINDOW_NO_BRING_TO_FRONT_ON_FOCUS | imgui.WINDOW_NO_NAV_FOCUS
imgui.begin("Gator Editor Dockspace", True, windowFlags)
imgui.pop_style_var(2)
imgui.dockspace(imgui.get_id("GatorEditorDockspace")) i call end in another function, but it's the same if i call it immediately. |
I never commented on github or opened issues or pull requests so the location of this question might be inappropriate, I'm sorry in advance.
I saw there is this docking branch which is separated from 2.0.0 which I have installed. I am making a very very simple "game (engine?)" and I made the properties panel. In all true "game engines" the tab windows are "stuck" there and you can only rearrange them, and I know this is possible with docking, but I noticed it's not currently available in the pyimgui version I have installed and here on github it says I should not use it so I have a few questions:
Thanks.
The text was updated successfully, but these error 8000 s were encountered: