| Crates.io | afrish |
| lib.rs | afrish |
| version | 0.1.1 |
| created_at | 2024-09-06 07:54:48.963485+00 |
| updated_at | 2025-10-24 10:33:07.104976+00 |
| description | A Rust binding for the Tk graphics toolkit, made for building the Afrim IME. |
| homepage | |
| repository | https://github.com/fodydev/afrish/ |
| max_upload_size | |
| id | 1365635 |
| size | 201,599 |
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.