pywayland
pywayland copied to clipboard
how to add_listener?
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?
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?