Comments (3)
Thank you for your feedback. Please let me know about your environment?
- What version of the wx do you install?
- Your distro and version, please?
I know some wx APIs are platform-specific,
- Mac-specific:
- Windows-specific
but I did only some hacky blocklisting them with very-limited environments, for Linux:
- Ubuntu 20.04 (on M1 Mac QEMU)
- Ubuntu-lastest with Github Actions
- Chromebook Crositini env (Debian, maybe Bullseye now?)
I'm working mainly on MacOS and Windows 10 for now.
Will consider marking those APIs with #[cfg(target=somewhat)] next.
from wxrust2.
I tried it with openSUSE Tumbleweed and wxWidgets 3.1.5 (GTK3).
Interesting though, the documentation of RegisterHotKey
says the following: This function is currently only implemented under MSW and macOS and always returns false in the other ports.
.
from wxrust2.
I couldn't use the codelite's prebuilt packages since I have only arm64 envs. I rebuilt it for arm64 and I just got testing environment for wx3.1 on Linux.
I'll work around this by just blocking not supported APIs you reported (RegisterHotKey (and UnregisterHotKey)) for now.
About per-platform code generation, I'll work on it in #42.
from wxrust2.
Related Issues (20)
- Handle specially wxSearchCtrl which isn't wxTextCtrl on MSW HOT 2
- Generate rest of wxCore library classes HOT 6
- More automatic codegen
- More builders for easy instantiation of classes with many default arguments in ctor HOT 1
- Document wxCore library coverage (not test coverage, but binding coverage) HOT 1
- Update README for current status (alpha stage)
- Clean up sample code
- Support modern looks on wxMSW by embedding application manifest HOT 2
- Change crate name and versioning HOT 1
- Use examples dir for ported wx samples HOT 1
- Dependency on vendored repo blocks publishing HOT 12
- (First) publish as alpha on crates.io HOT 1
- Fix docs.rs build error HOT 8
- API shortage found in my dogfooding
- Support wx::EvtHandler.call_after()
- wx::message_box() should return the answer
- Autogen Event type support code
- Rename TypeIsOwned<bool> to TypeInRust<> HOT 1
- Fix CI build errors HOT 4
- Help getting samples going with MSYS2 installation of wxWidgets HOT 3
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 wxrust2.