Closed KannebTo closed 5 years ago
I don't use the python bindings, but the C library isn't used for displaying UIs. You'll need suil
for that. Nutshell, use lilv to get UI information which is later passed to suil functions for instantiation.
Thank you for the hint. I didn't know Suil before. I'll check it out.
No problem @KannebTo
If the show interface is implemented by the UI, that might work, but AFAIK nobody has implemented a simple interface for just showing a UI however. This kind of thing got really sidetracked by the (IMO misguided) external UI stuff for years.
It could probably be implemented in (or using) suil, but to support processes with no GUI at all, that's quite some work, with another process, IPC, etc.
I can get the file path of the UI implementation using
ui.get_binary_uri()
(eg.file:///usr/lib/lv2/eg-scope.lv2/examploscope_ui.so
which is a GTK interface). But it is not clear to me how to run and manage it properly. My host don't have a GUI itself. Is it possible to launch it as a standalone window? Maybe i have to somehow call the LV2UI_Show_Interface?