Ben Chuanlong Du's Blog

It is never too late to learn.

Develop a GUI Application in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

tauri

Please refer to tauri for more discussions.

dioxus

Dioxus is a portable, performant, and ergonomic framework for building cross-platform user interfaces in Rust.

rinf

Rinf is a production-ready framework for …

Use Tauri to Build a Desktop Application

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tauri is a framework for building tiny, blazing fast binaries for all major desktop platforms. Developers can integrate any front-end framework that compiles to HTML, JS and CSS for building their …

The Checkbutton Widget in Tkinter

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. ttk.Checkbutton is preferred to tk.Checkbutton.

  2. It seems to me that the Checkbutton.bind doesn't work. However, specifying a callback function using the command option when creating a Checkbutton still …

The Entry Widget in Tkinter

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. ttk.Entry is preferred over tk.Entry.

  2. ttk.Entry/tk.Entry does not have a set method to set the text directly. Instead, you have to first delete the text and …

The Label Widget in Tkinter

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

General Tips

  1. ttk.Label is preferred over tk.Label.

Change the Text of a Label

After creating a Label (whose text has already been set), there are 3 different approaches that …