Runtime plugins
#4506
Replies: 1 comment
-
With this, if its even possible, I'd love to have these plugins run without their own window. Using something like egui_dock or egui_tiles to add plugins to different tabs. Of course, beggars can't be choosers, and I'd simply like to see this code run :P Thanks!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I am trying to use egui/eframe for a desktop application. In doing so, I'd love to know if there is a way to create runtime plugins for it.
For instance, I was trying something simple like this:
and my precompiled plugin would look something like this:
and this all works great! It loads the plugin and starts the program!
However, attempting to USE the context in anyway results in a segmentation fault (as things tend to do when you use unsafe rust lol)
I've tried just about everything I can think of, including sending raw pointers, sending a mutable Ui, raw Ui pointers, etc.
I'm not sure what I can do to make this work, if its even possible.
Does anybody have experience with this? I would love to know how to possibly get this to work, even if its botched together :P
Beta Was this translation helpful? Give feedback.
All reactions