Skip to content
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

Use dasbus without dasbus.loop.EventLoop #118

Open
demsking opened this issue Jun 6, 2023 · 1 comment
Open

Use dasbus without dasbus.loop.EventLoop #118

demsking opened this issue Jun 6, 2023 · 1 comment

Comments

@demsking
Copy link

demsking commented Jun 6, 2023

I'm implementing a MPRIS server on an existing app which already have an internal event loop.

Is there a way to use dasbus without the GLib event loop?

@demsking demsking changed the title Use dashbus without dasbus.loop.EventLoop Use dasbus without dasbus.loop.EventLoop Jun 8, 2023
@poncovka
Copy link
Contributor

Hi! Unfortunately, dasbus doesn't support other event loops at this moment. You might try to combine the event loops and manually iterate the GLib loop as part of your internal event loop. I have found some info about that here, but it is probably too complicated: https://docs.gtk.org/glib/main-loop.html#customizing-the-main-loop-iteration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants