Hello,
I have a plugin written in C++ and my task is to make GUI for the plugin. There are two approaches that I can think of. Extern GUI, that's not fixed to OpenSim GUI at all or Intern GUI. I'm interested in the intern approach. Is there a way that I can customize OpenSim GUI without adding or modifying GUI source code?
To be more specific, here is an example. I would like to have an item in menubar where Tools are located. This item would OnClick show my window (form) with my GUI that would modify plugin's (written in C++) values or run the plugin. Is there a way to make this possible? Have you encountered this kind of approach before? If this approach is not possible or viable would the extern approach work?
Thanks in advance,
Tomas
plugin's GUI in OpenSim GUI?
- Tomas Kment
- Posts: 6
- Joined: Tue Sep 14, 2021 11:33 am
- Nathan Pickle
- Posts: 12
- Joined: Wed Jan 09, 2013 11:10 am
Re: plugin's GUI in OpenSim GUI?
Hi Tomas,
I have also looked into this briefly, and the documentation page below should get you started:
https://simtk-confluence.stanford.edu:8 ... UI+Modules
It's a little outdated, but I have been able to use this general workflow to add an item to the OpenSim GUI menus.
Depending on what you're doing, you will likely end up needing to write a little bit of your own code to run the plugin. That's not something I have tried yet, but the OpenSim dev team may be able to help you once you get to that point.
-Nathan
I have also looked into this briefly, and the documentation page below should get you started:
https://simtk-confluence.stanford.edu:8 ... UI+Modules
It's a little outdated, but I have been able to use this general workflow to add an item to the OpenSim GUI menus.
Depending on what you're doing, you will likely end up needing to write a little bit of your own code to run the plugin. That's not something I have tried yet, but the OpenSim dev team may be able to help you once you get to that point.
-Nathan
- Tomas Kment
- Posts: 6
- Joined: Tue Sep 14, 2021 11:33 am
Re: plugin's GUI in OpenSim GUI?
Thanks a lot Nathan, that's what I have been looking for! This should get me started, if not, I will try to ask devs
-Tomas
-Tomas