Comments (3)
Thank you feedback, wanna improve this before 1.0 release after more usable and complete API coverage.
I didn't investigate how wxPython generate these constants yet, do you have an idea how we should treat this?
Just stripping the wx prefix if found and placing them in the wx module is enough?
from wxrust2.
That's pretty much it. Not everything is in the root namespace, but I believe wx is stripped from everything. Which makes sense, the old naming convention predates widespread use of namespaces, but now it's just redundant.
from wxrust2.
note for myself:
- consider mapping C enums to https://github.com/bitflags/bitflags especially inner enum of some classes recently introduced
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.