Ben Chuanlong Du's Blog

It is never too late to learn.

Shortcuts in macOS

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

Customize Keybindings

You can customize keybindings by editing the file ~/Library/KeyBindings/DefaultKeyBinding.dict . For example, to disable the system keybinding Alt + e and Alt + . (so that they can be used …

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 …