Rust bindings for xlib.
Note: This project is currently unmaintained.
Rust bindings for xlib. UNMAINTAINED
License: Other
http://doc.servo.org/xlib/ will 404 when accessed.
I reexported wchar_t
here. When we update to that commit, we can remove the import that was added as part of the upgrade.
Hello !
First of all, thank you for those bindings, great work !
This is more some questions than issues :
I tried this :
loop {
let ev: *mut xlib::XEvent;
unsafe {
xlib::XNextEvent(dpy, ev);
}
match ev {
xlib::XExposeEvent => println!("Ok"),
_ => println!("Nothing"),
}
};
But it does not compile ( unresolved enum variant, struct or const XExposeEvent
) I'm new to rust, and I'm doing this little project with xlib & rust to learn both ^^ So my question should be stupid...
Thank you
Regards,
Peekmo
How do I add x11 to path?
error: failed to run custom build command for `x11 v2.14.0`
process didn't exit successfully: `/home/mikhail/Documents/InputBot/target/debug/build/x11-160e0d6f1c19ff1b/build-sc
ript-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(PkgConfig(Failure { command: "\"pkg-co
nfig\" \"--libs\" \"--cflags\" \"x11 >= 1.4.99.1\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "
", stderr: "Package x11 was not found in the pkg-config search path.\nPerhaps you should add the directory containin
g `x11.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'x11\' found\n" } }), State { next_error: None
})', /checkout/src/libcore/result.rs:859
note: Run with `RUST_BACKTRACE=1` for a backtrace.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.