Comments (3)
Sorry, I don't know, I'm not aware of any examples with pywlroots and I've never done anything with globals or custom protocols so can't help here :/
from pywlroots.
Hmm, interesting. Is the protocol defined in xml or are you doing it purely in Python? If it were, you could use the pywayland scanner to generate the protocol. I'm honestly not sure what it'd mean to define one Python alone, a lot of the functionality was setup to be built up from xml. There is a reasonable amount of things that are done in some of the automagic decorators and cffi cdata generation that might need to be setup manually here.
from pywlroots.
Hmm, interesting. Is the protocol defined in xml or are you doing it purely in Python? If it were, you could use the pywayland scanner to generate the protocol. I'm honestly not sure what it'd mean to define one Python alone, a lot of the functionality was setup to be built up from xml. There is a reasonable amount of things that are done in some of the automagic decorators and cffi cdata generation that might need to be setup manually here.
It's this protocol https://github.com/Shinyzenith/NextWM/blob/master/protocols/next-control-v1.xml
Hence the following import: from pywayland.protocol.next_control_v1 import NextControlV1 # ignore: type
from pywlroots.
Related Issues (20)
- Proposal: Add helper function ptr_or_null to wlroots.__init__.py
- pywlr 0.16.x: xdg_shell.XdgTopLevel: "base" property is not implemented HOT 1
- Remove exception from SceneOutput.commit: Should return boolean
- fatal error: xkbcommon/xkbcommon.h: No such file or directory. HOT 8
- Check usage of context managers HOT 2
- OutputHeadV1State: Invalid custom_mode setter
- Pointer: Missing data property
- Avoid usage of deprecated surface module
- Touch: Missing data property
- pywlroots wheel contains unnecessary libs HOT 4
- XdgTopLevel: Incorrect check of the pointer, a parent is always returned
- Release 0.16.8 HOT 1
- Seat.touch_point_clear_focus: Wrong signature: Takes too many arguments
- Support for wlr_tablet_tool HOT 3
- WLR 0.17 - Proposal: Rename XdgTopLevel to XdgToplevel HOT 1
- Inconsistencies with setters and getters HOT 13
- Release 0.16.9 HOT 2
- Renderer: autocreate() checks for a truth value not for ffi.NULL
- Future API improvements HOT 2
- Issue building qtile wheels when with xkbcommon=1.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pywlroots.