Description
master:
/ mac(0.10):
This is a Rust binding for the wxWidgets cross platform toolkit.
wxRust alternatives and similar packages
Based on the "GUI" category.
Alternatively, view wxRust alternatives based on common mentions on social networks and blogs.
-
๐ egui
egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native -
SixtyFPS
Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript. [Moved to: https://github.com/slint-ui/slint] -
Rust Qt Binding Generator git
Generate bindings to use Rust code in Qt and QML -
QMetaObject crate for Rust
Integrate Qml and Rust by building the QMetaObject at compile time. -
Relm4
An idiomatic GUI library inspired by Elm and based on gtk4-rs [Moved to: https://github.com/Relm4/Relm4] -
Kiss-ui
A simple UI framework for Rust built on top of IUP (http://webserver2.tecgraf.puc-rio.br/iup/) -
libui-rs
Rust bindings to the minimalist, native, cross-platform UI toolkit `libui` -
country-emoji
Converts between country names, ISO 3166-1 codes and flag emojis.
TestGPT | Generating meaningful tests for busy devs
Do you think we are missing an alternative of wxRust or a related project?
Popular Comparisons
README
This repo has been abandoned years ago. As I (original author) commented here, I'm trying this again with now stable and mature language and solid ecosystem in the another repo.
April 1st, 2022.
wxRust
This is a Rust binding for the wxWidgets cross platform toolkit.
API
How it works
The wxRust library is heavily based on the wxHaskell's wxc library.
The wxc is a C language binding for the C++ wxWidgets toolkit.
We utilize the rust-bindgen
automatic rust binding generator for its _unsafe low-level binding.
And we generate an OOP-style high-level binding (other modules than _unsafe) by codegen.py code generator.
Build
We use CMake for cross platform build, but Windows platform is not yet tested.
For Linux build instructions, see [INSTALL.linux.md](INSTALL.linux.md)
Build Prerequisite
Use following Rust compiler version for your wxRust branch. We're using Servo master's one for main development.
wxRust branchSupported Rust compiler version master master
Install the wxWidgets 3.0 (2.9.5 or later is required) and CMake as below (in the case of Homebrew):
brew install wxmac
brew install cmake
With some tweak you may be able to compile wxRust with a bit older versions (2.9.0 < x < 2.9.4) of wxWidgets. See issue #21 comments for details.
Build the library
At the project root directory,
Checkout git submodules:
git submodule init # for the first time.
git submodule update
And generate Makefiles and make:
mkdir build
cd build
cmake ..
make
Compile and Run the Test program
At the CMake binary directory:
make test && ./test
On Mac, Run as below:
make Test.app
open ./Test.app # or open in Finder
Generate Documentation
At the CMake binary directory:
make doc
Generates a rustdoc documentation under doc directory.