- Tkinter GUI Application Development Blueprints(Second Edition)
- Bhaskar Chaudhary
- 109字
- 2021-06-24 18:35:09
Indexing and tagging
Though we managed to leverage some built-in functionalities to gain a quick advantage, we need more control over the text area so that we can bend it to our will. This will require the ability to target each character or text location with precision.
We will need to know the exact position of each character, the cursor, or the selected area in order to do anything with the contents of the editor.
The Text widget offers us the ability to manipulate its content using index, tags, and mark, which let us target a position or place within the text area for manipulation.
推薦閱讀
- 程序設計與實踐(VB.NET)
- INSTANT OpenCV Starter
- Rust實戰
- 劍指JVM:虛擬機實踐與性能調優
- Web交互界面設計與制作(微課版)
- HDInsight Essentials(Second Edition)
- PLC應用技術(三菱FX2N系列)
- Test-Driven Development with Django
- 持續輕量級Java EE開發:編寫可測試的代碼
- Natural Language Processing with Python Quick Start Guide
- iOS開發項目化入門教程
- PHP 7 Programming Blueprints
- 第五空間戰略:大國間的網絡博弈
- Natural Language Processing with Python Cookbook
- Hands-On Machine Learning with ML.NET