pywayland icon indicating copy to clipboard operation
pywayland copied to clipboard

how to add_listener?

Open hezral opened this issue 4 years ago • 1 comments

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?

hezral avatar Dec 03 '21 14:12 hezral

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?

smurfix avatar Sep 21 '23 10:09 smurfix