Crates.io | afrish |
lib.rs | afrish |
version | 0.1.0 |
source | src |
created_at | 2024-09-06 07:54:48.963485 |
updated_at | 2024-09-06 07:54:48.963485 |
description | A Rust binding for the Tk graphics toolkit, made for building the Afrim IME. |
homepage | |
repository | https://github.com/pythonbrad/afrish/ |
max_upload_size | |
id | 1365635 |
size | 201,678 |
A Rust binding for the Tk graphics toolkit, designed specifically for the development of the Afrim IME.
afrish opens and communicates with Tk's wish program as a separate process. The library provides:
A simple hello-world example:
use afrish::*;
fn main() {
let root = afrish::start_wish().unwrap();
let hello = afrish::make_label(&root);
hello.text("Hello from Rust/Tk");
hello.grid().layout();
afrish::mainloop();
}
This project is a clone of rstk.