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

how to add_listener? #32

Open
hezral opened this issue Dec 3, 2021 · 1 comment
Open

how to add_listener? #32

hezral opened this issue Dec 3, 2021 · 1 comment
Labels

Comments

@hezral
Copy link

hezral commented Dec 3, 2021

Thanks for making this!

I'm trying to port codes from C but there's this functions in each protocol.wayland.* from the C source, for example: wl_data_source_add_listener

but i can't it anywhere in pywayland. is it not supported?

@smurfix
Copy link

smurfix commented Sep 21, 2023

Huh. It seems that while everything in pywayland.protocol (except wayland of course) is generated from XML, there does not seem to be any Python example code whatsoever out there about how to actually use it.

Is there anybody out there who can fix that?

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

No branches or pull requests

3 participants